#7F64EA#7F64EA

#7F64EA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.8% C 0.194 H 288.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7F64EA
RGBrgb(127, 100, 234)
HSLhsl(252, 76%, 65%)
HSVhsv(252, 57%, 92%)
CMYKcmyk(45.7%, 57.3%, 0%, 8.2%)
CIE-LABlab(51.34, 43.04, -64.45)
CIE-LCHlch(51.34, 77.50, 303.74°)
OKLaboklab(59.85% 0.0612 -0.184)
OKLCHoklch(59.85% 0.194 288.4)
XYZxyz(28.1566, 19.5658, 80.1189)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64EA #CFEA64
analogous
#648CEA #7F64EA #C264EA
triadic
#7F64EA #EA7F64 #64EA7F
tetradic
#7F64EA #EA648C #CFEA64 #64EAC2
square
#7F64EA #EA648C #CFEA64 #64EAC2
split-complementary
#7F64EA #EAC264 #8CEA64
monochromatic
#3A19BA #522EE3 #7F64EA #AC9AF1 #D8D0F9

Accessibility & contrast

On white

4.27
#7F64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7F64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64EA#FFFFFF#000000##000000
##7F64EA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#5D829D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f64ea;
/* rgb */ color: rgb(127, 100, 234);
/* oklch */ color: oklch(59.8% 0.194 288.4);
Tailwind
colors: {
  custom: {
    50: '#ab91f1',
    500: '#7f64ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f64ea;
$custom-light: #ab91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64ea",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 252.09,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.19386,
    "h": 288.4
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#7F64EA
secondary
#E2EBBE
accent
#D80DAF
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7F64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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