#7F64F9#7F64F9

#7F64F9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 60.9% C 0.213 H 286.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7F64F9
RGBrgb(127, 100, 249)
HSLhsl(251, 93%, 68%)
HSVhsv(251, 60%, 98%)
CMYKcmyk(49%, 59.8%, 0%, 2.4%)
CIE-LABlab(52.36, 47.30, -71.19)
CIE-LCHlch(52.36, 85.47, 303.60°)
OKLaboklab(60.91% 0.0607 -0.2038)
OKLCHoklch(60.91% 0.213 286.6)
XYZxyz(30.4034, 20.4645, 91.9522)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64F9 #DEF964
analogous
#6493F9 #7F64F9 #C964F9
triadic
#7F64F9 #F97F64 #64F97F
tetradic
#7F64F9 #F96493 #DEF964 #64F9C9
square
#7F64F9 #F96493 #DEF964 #64F9C9
split-complementary
#7F64F9 #F9C964 #93F964
monochromatic
#2E08DA #4E29F7 #7F64F9 #B09FFB #E0DAFE

Accessibility & contrast

On white

4.12
#7F64F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7F64F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64F9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64F9#FFFFFF#000000##000000
##7F64F91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#5387A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f64f9;
/* rgb */ color: rgb(127, 100, 249);
/* oklch */ color: oklch(60.9% 0.213 286.6);
Tailwind
colors: {
  custom: {
    50: '#ad91fc',
    500: '#7f64f9',
    950: '#000000',
  },
}
SCSS
$custom: #7f64f9;
$custom-light: #ad91fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64f9",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 250.872,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.21262,
    "h": 286.6
  },
  "luminance": 0.20466
}

Semantic roles & 50–950 ramp

primary
#7F64F9
secondary
#EBF3C6
accent
#E600BC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F64F9

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

Preview Lab → · Contrast checker → · Palette generator →

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