#7F64F4#7F64F4

#7F64F4 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.6% C 0.206 H 287.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7F64F4
RGBrgb(127, 100, 244)
HSLhsl(251, 87%, 67%)
HSVhsv(251, 59%, 96%)
CMYKcmyk(48%, 59%, 0%, 4.3%)
CIE-LABlab(52.01, 45.88, -68.96)
CIE-LCHlch(52.01, 82.83, 303.64°)
OKLaboklab(60.55% 0.0609 -0.1972)
OKLCHoklch(60.55% 0.206 287.2)
XYZxyz(29.6339, 20.1567, 87.8996)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64F4 #D9F464
analogous
#6491F4 #7F64F4 #C764F4
triadic
#7F64F4 #F47F64 #64F47F
tetradic
#7F64F4 #F46491 #D9F464 #64F4C7
square
#7F64F4 #F46491 #D9F464 #64F4C7
split-complementary
#7F64F4 #F4C764 #91F464
monochromatic
#330FCF #502BF0 #7F64F4 #AE9DF8 #DDD6FC

Accessibility & contrast

On white

4.17
#7F64F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F64F4#FFFFFF#000000##000000
##7F64F41.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#5785A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f64f4;
/* rgb */ color: rgb(127, 100, 244);
/* oklch */ color: oklch(60.6% 0.206 287.2);
Tailwind
colors: {
  custom: {
    50: '#ac91f9',
    500: '#7f64f4',
    950: '#000000',
  },
}
SCSS
$custom: #7f64f4;
$custom-light: #ac91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64f4",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 251.25,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.20641,
    "h": 287.2
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#7F64F4
secondary
#E8F0C3
accent
#E302B9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F64F4

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

Preview Lab → · Contrast checker → · Palette generator →

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