#7E64F2#7E64F2

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

Color values

HEX#7E64F2
RGBrgb(126, 100, 242)
HSLhsl(251, 85%, 67%)
HSVhsv(251, 59%, 95%)
CMYKcmyk(47.9%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.79, 45.11, -68.21)
CIE-LCHlch(51.79, 81.78, 303.48°)
OKLaboklab(60.33% 0.0597 -0.195)
OKLCHoklch(60.33% 0.204 287)
XYZxyz(29.1837, 19.9595, 86.3020)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64F2 #D8F264
analogous
#6491F2 #7E64F2 #C564F2
triadic
#7E64F2 #F27E64 #64F27E
tetradic
#7E64F2 #F26491 #D8F264 #64F2C5
square
#7E64F2 #F26491 #D8F264 #64F2C5
split-complementary
#7E64F2 #F2C564 #91F264
monochromatic
#3311CB #4F2CED #7E64F2 #AD9CF7 #DCD5FB

Accessibility & contrast

On white

4.21
#7E64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64F2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64F2#FFFFFF#000000##000000
##7E64F21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#5685A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e64f2;
/* rgb */ color: rgb(126, 100, 242);
/* oklch */ color: oklch(60.3% 0.204 287.0);
Tailwind
colors: {
  custom: {
    50: '#ab91f7',
    500: '#7e64f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e64f2;
$custom-light: #ab91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64f2",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 250.986,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.20398,
    "h": 287
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#7E64F2
secondary
#E7EFC2
accent
#E105B9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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