#7D64EF#7D64EF

#7D64EF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.0% C 0.200 H 287.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D64EF
RGBrgb(125, 100, 239)
HSLhsl(251, 81%, 66%)
HSVhsv(251, 58%, 94%)
CMYKcmyk(47.7%, 58.2%, 0%, 6.3%)
CIE-LABlab(51.50, 44.06, -67.00)
CIE-LCHlch(51.50, 80.19, 303.33°)
OKLaboklab(60.03% 0.0586 -0.1915)
OKLCHoklch(60.03% 0.2 287)
XYZxyz(28.5901, 19.7050, 83.9416)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64EF #D6EF64
analogous
#6491EF #7D64EF #C364EF
triadic
#7D64EF #EF7D64 #64EF7D
tetradic
#7D64EF #EF6491 #D6EF64 #64EFC3
square
#7D64EF #EF6491 #D6EF64 #64EFC3
split-complementary
#7D64EF #EFC364 #91EF64
monochromatic
#3414C4 #4E2DE9 #7D64EF #AC9BF5 #DAD3FA

Accessibility & contrast

On white

4.25
#7D64EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7D64EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64EF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64EF#FFFFFF#000000##000000
##7D64EF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#5684A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d64ef;
/* rgb */ color: rgb(125, 100, 239);
/* oklch */ color: oklch(60.0% 0.200 287.0);
Tailwind
colors: {
  custom: {
    50: '#aa91f5',
    500: '#7d64ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d64ef;
$custom-light: #aa91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64ef",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 250.791,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.20028,
    "h": 287
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#7D64EF
secondary
#E6EEC1
accent
#DE08B7
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D64EF

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

Preview Lab → · Contrast checker → · Palette generator →

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