#7F64F7#7F64F7

#7F64F7 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.8% C 0.210 H 286.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F64F7
RGBrgb(127, 100, 247)
HSLhsl(251, 90%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(48.6%, 59.5%, 0%, 3.1%)
CIE-LABlab(52.22, 46.73, -70.30)
CIE-LCHlch(52.22, 84.41, 303.62°)
OKLaboklab(60.77% 0.0608 -0.2011)
OKLCHoklch(60.77% 0.21 286.8)
XYZxyz(30.0931, 20.3404, 90.3181)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64F7 #DCF764
analogous
#6493F7 #7F64F7 #C864F7
triadic
#7F64F7 #F77F64 #64F77F
tetradic
#7F64F7 #F76493 #DCF764 #64F7C8
square
#7F64F7 #F76493 #DCF764 #64F7C8
split-complementary
#7F64F7 #F7C864 #93F764
monochromatic
#300BD6 #4F2AF4 #7F64F7 #AF9EFA #DFD8FD

Accessibility & contrast

On white

4.14
#7F64F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7F64F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64F7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64F7#FFFFFF#000000##000000
##7F64F71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#5586A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f64f7;
/* rgb */ color: rgb(127, 100, 247);
/* oklch */ color: oklch(60.8% 0.210 286.8);
Tailwind
colors: {
  custom: {
    50: '#ac91fb',
    500: '#7f64f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f64f7;
$custom-light: #ac91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64f7",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 251.02,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.21014,
    "h": 286.8
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#7F64F7
secondary
#EAF2C5
accent
#E600BB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F64F7

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

Preview Lab → · Contrast checker → · Palette generator →

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