#7F64FA#7F64FA

#7F64FA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.0% C 0.214 H 286.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7F64FA
RGBrgb(127, 100, 250)
HSLhsl(251, 94%, 69%)
HSVhsv(251, 60%, 98%)
CMYKcmyk(49.2%, 60%, 0%, 2%)
CIE-LABlab(52.43, 47.59, -71.63)
CIE-LCHlch(52.43, 86.00, 303.60°)
OKLaboklab(60.99% 0.0606 -0.2051)
OKLCHoklch(60.99% 0.214 286.5)
XYZxyz(30.5598, 20.5270, 92.7758)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F64FA #DFFA64
analogous
#6494FA #7F64FA #CA64FA
triadic
#7F64FA #FA7F64 #64FA7F
tetradic
#7F64FA #FA6494 #DFFA64 #64FACA
square
#7F64FA #FA6494 #DFFA64 #64FACA
split-complementary
#7F64FA #FACA64 #94FA64
monochromatic
#2E07DC #4E29F8 #7F64FA #B09FFC #E1DBFE

Accessibility & contrast

On white

4.11
#7F64FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7F64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F64FA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F64FA#FFFFFF#000000##000000
##7F64FA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079F7
Tritanopia (blue-blind)
#5387A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f64fa;
/* rgb */ color: rgb(127, 100, 250);
/* oklch */ color: oklch(61.0% 0.214 286.5);
Tailwind
colors: {
  custom: {
    50: '#ad91fd',
    500: '#7f64fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f64fa;
$custom-light: #ad91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f64fa",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 250.8,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.21385,
    "h": 286.5
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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