#7D64F6#7D64F6

#7D64F6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.5% C 0.209 H 286.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7D64F6
RGBrgb(125, 100, 246)
HSLhsl(250, 89%, 68%)
HSVhsv(250, 59%, 96%)
CMYKcmyk(49.2%, 59.3%, 0%, 3.5%)
CIE-LABlab(51.98, 46.06, -70.14)
CIE-LCHlch(51.98, 83.91, 303.30°)
OKLaboklab(60.53% 0.0583 -0.2007)
OKLCHoklch(60.53% 0.209 286.2)
XYZxyz(29.6443, 20.1267, 89.4938)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64F6 #DDF664
analogous
#6494F6 #7D64F6 #C664F6
triadic
#7D64F6 #F67D64 #64F67D
tetradic
#7D64F6 #F66494 #DDF664 #64F6C6
square
#7D64F6 #F66494 #DDF664 #64F6C6
split-complementary
#7D64F6 #F6C664 #94F664
monochromatic
#2E0CD3 #4C2AF3 #7D64F6 #AE9EF9 #DED8FD

Accessibility & contrast

On white

4.18
#7D64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7D64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64F6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64F6#FFFFFF#000000##000000
##7D64F61.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#5186A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d64f6;
/* rgb */ color: rgb(125, 100, 246);
/* oklch */ color: oklch(60.5% 0.209 286.2);
Tailwind
colors: {
  custom: {
    50: '#ab91fa',
    500: '#7d64f6',
    950: '#000000',
  },
}
SCSS
$custom: #7d64f6;
$custom-light: #ab91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64f6",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 250.274,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.20904,
    "h": 286.2
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#7D64F6
secondary
#EAF1C4
accent
#E600BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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