#7F66FA#7F66FA

#7F66FA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.3% C 0.211 H 286.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7F66FA
RGBrgb(127, 102, 250)
HSLhsl(250, 94%, 69%)
HSVhsv(250, 59%, 98%)
CMYKcmyk(49.2%, 59.2%, 0%, 2%)
CIE-LABlab(52.86, 46.46, -70.93)
CIE-LCHlch(52.86, 84.80, 303.23°)
OKLaboklab(61.3% 0.0586 -0.203)
OKLCHoklch(61.3% 0.211 286.1)
XYZxyz(30.7540, 20.9154, 92.8405)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66FA #E1FA66
analogous
#6697FA #7F66FA #C966FA
triadic
#7F66FA #FA7F66 #66FA7F
tetradic
#7F66FA #FA6697 #E1FA66 #66FAC9
square
#7F66FA #FA6697 #E1FA66 #66FAC9
split-complementary
#7F66FA #FAC966 #97FA66
monochromatic
#2C07DE #4D2BF8 #7F66FA #B1A1FC #E2DDFE

Accessibility & contrast

On white

4.05
#7F66FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7F66FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66FA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66FA#FFFFFF#000000##000000
##7F66FA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#5288A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f66fa;
/* rgb */ color: rgb(127, 102, 250);
/* oklch */ color: oklch(61.3% 0.211 286.1);
Tailwind
colors: {
  custom: {
    50: '#ad92fd',
    500: '#7f66fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f66fa;
$custom-light: #ad92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66fa",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 250.135,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.21131,
    "h": 286.1
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#7F66FA
secondary
#ECF4C8
accent
#E600BF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7F66FA

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

Preview Lab → · Contrast checker → · Palette generator →

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