#7D64E2#7D64E2

#7D64E2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.184 H 288.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7D64E2
RGBrgb(125, 100, 226)
HSLhsl(252, 68%, 64%)
HSVhsv(252, 56%, 89%)
CMYKcmyk(44.7%, 55.8%, 0%, 11.4%)
CIE-LABlab(50.65, 40.35, -61.08)
CIE-LCHlch(50.65, 73.21, 303.45°)
OKLaboklab(59.12% 0.0587 -0.1741)
OKLCHoklch(59.12% 0.184 288.6)
XYZxyz(26.7382, 18.9643, 74.1884)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64E2 #C9E264
analogous
#648AE2 #7D64E2 #BC64E2
triadic
#7D64E2 #E27D64 #64E27D
tetradic
#7D64E2 #E2648A #C9E264 #64E2BC
square
#7D64E2 #E2648A #C9E264 #64E2BC
split-complementary
#7D64E2 #E2BC64 #8AE264
monochromatic
#3C20AC #5230D8 #7D64E2 #A898EC #D3CBF5

Accessibility & contrast

On white

4.38
#7D64E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7D64E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64E2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64E2#FFFFFF#000000##000000
##7D64E21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE6
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#5E8099
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d64e2;
/* rgb */ color: rgb(125, 100, 226);
/* oklch */ color: oklch(59.1% 0.184 288.6);
Tailwind
colors: {
  custom: {
    50: '#a991ec',
    500: '#7d64e2',
    950: '#000000',
  },
}
SCSS
$custom: #7d64e2;
$custom-light: #a991ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64e2",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 251.905,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.18374,
    "h": 288.6
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#7D64E2
secondary
#DEE7BB
accent
#D015AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7D64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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