#7F66F8#7F66F8

#7F66F8 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.2% C 0.209 H 286.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7F66F8
RGBrgb(127, 102, 248)
HSLhsl(250, 91%, 69%)
HSVhsv(250, 59%, 97%)
CMYKcmyk(48.8%, 58.9%, 0%, 2.7%)
CIE-LABlab(52.72, 45.89, -70.04)
CIE-LCHlch(52.72, 83.74, 303.23°)
OKLaboklab(61.16% 0.0587 -0.2004)
OKLCHoklch(61.16% 0.209 286.3)
XYZxyz(30.4421, 20.7906, 91.1977)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66F8 #DFF866
analogous
#6696F8 #7F66F8 #C866F8
triadic
#7F66F8 #F87F66 #66F87F
tetradic
#7F66F8 #F86696 #DFF866 #66F8C8
square
#7F66F8 #F86696 #DFF866 #66F8C8
split-complementary
#7F66F8 #F8C866 #96F866
monochromatic
#2E0ADA #4E2BF5 #7F66F8 #B0A1FB #E1DBFD

Accessibility & contrast

On white

4.07
#7F66F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7F66F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66F8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66F8#FFFFFF#000000##000000
##7F66F81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#5488A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f66f8;
/* rgb */ color: rgb(127, 102, 248);
/* oklch */ color: oklch(61.2% 0.209 286.3);
Tailwind
colors: {
  custom: {
    50: '#ac92fb',
    500: '#7f66f8',
    950: '#000000',
  },
}
SCSS
$custom: #7f66f8;
$custom-light: #ac92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66f8",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 250.274,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.20882,
    "h": 286.3
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F66F8

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

Preview Lab → · Contrast checker → · Palette generator →

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