#7F66FB#7F66FB

#7F66FB is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.213 H 286.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7F66FB
RGBrgb(127, 102, 251)
HSLhsl(250, 95%, 69%)
HSVhsv(250, 59%, 98%)
CMYKcmyk(49.4%, 59.4%, 0%, 1.6%)
CIE-LABlab(52.93, 46.75, -71.38)
CIE-LCHlch(52.93, 85.32, 303.22°)
OKLaboklab(61.37% 0.0586 -0.2043)
OKLCHoklch(61.37% 0.213 286)
XYZxyz(30.9112, 20.9783, 93.6685)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66FB #E2FB66
analogous
#6698FB #7F66FB #CA66FB
triadic
#7F66FB #FB7F66 #66FB7F
tetradic
#7F66FB #FB6698 #E2FB66 #66FBCA
square
#7F66FB #FB6698 #E2FB66 #66FBCA
split-complementary
#7F66FB #FBCA66 #98FB66
monochromatic
#2B06E1 #4D2AF9 #7F66FB #B1A2FD #E3DDFE

Accessibility & contrast

On white

4.04
#7F66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7F66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66FB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66FB#FFFFFF#000000##000000
##7F66FB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#5289A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f66fb;
/* rgb */ color: rgb(127, 102, 251);
/* oklch */ color: oklch(61.4% 0.213 286.0);
Tailwind
colors: {
  custom: {
    50: '#ad93fe',
    500: '#7f66fb',
    950: '#000000',
  },
}
SCSS
$custom: #7f66fb;
$custom-light: #ad93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66fb",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 250.067,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61374,
    "c": 0.21255,
    "h": 286
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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