#7D65E6#7D65E6

#7D65E6 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.6% C 0.188 H 287.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D65E6
RGBrgb(125, 101, 230)
HSLhsl(251, 72%, 65%)
HSVhsv(251, 56%, 90%)
CMYKcmyk(45.7%, 56.1%, 0%, 9.8%)
CIE-LABlab(51.13, 40.91, -62.56)
CIE-LCHlch(51.13, 74.75, 303.18°)
OKLaboklab(59.56% 0.0576 -0.1784)
OKLCHoklch(59.56% 0.188 287.9)
XYZxyz(27.3900, 19.3794, 77.1450)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D65E6 #CEE665
analogous
#658DE6 #7D65E6 #BE65E6
triadic
#7D65E6 #E67D65 #65E67D
tetradic
#7D65E6 #E6658D #CEE665 #65E6BE
square
#7D65E6 #E6658D #CEE665 #65E6BE
split-complementary
#7D65E6 #E6BE65 #8DE665
monochromatic
#391DB3 #5130DD #7D65E6 #A99AEF #D6CEF7

Accessibility & contrast

On white

4.31
#7D65E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7D65E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D65E6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D65E6#FFFFFF#000000##000000
##7D65E61.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#127DEA
Deuteranopia (green-blind)
#1476E3
Tritanopia (blue-blind)
#5C829C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d65e6;
/* rgb */ color: rgb(125, 101, 230);
/* oklch */ color: oklch(59.6% 0.188 287.9);
Tailwind
colors: {
  custom: {
    50: '#a991ef',
    500: '#7d65e6',
    950: '#000000',
  },
}
SCSS
$custom: #7d65e6;
$custom-light: #a991ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d65e6",
  "rgb": {
    "r": 125,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 251.163,
    "s": 72.067,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.1875,
    "h": 287.9
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#7D65E6
secondary
#E1E9BD
accent
#D411B0
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7D65E6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D65E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva