#7F66F2#7F66F2

#7F66F2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.7% C 0.201 H 287.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7F66F2
RGBrgb(127, 102, 242)
HSLhsl(251, 84%, 67%)
HSVhsv(251, 58%, 95%)
CMYKcmyk(47.5%, 57.9%, 0%, 5.1%)
CIE-LABlab(52.31, 44.18, -67.36)
CIE-LCHlch(52.31, 80.55, 303.26°)
OKLaboklab(60.73% 0.0589 -0.1925)
OKLCHoklch(60.73% 0.201 287)
XYZxyz(29.5261, 20.4243, 86.3737)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66F2 #D9F266
analogous
#6693F2 #7F66F2 #C566F2
triadic
#7F66F2 #F27F66 #66F27F
tetradic
#7F66F2 #F26693 #D9F266 #66F2C5
square
#7F66F2 #F26693 #D9F266 #66F2C5
split-complementary
#7F66F2 #F2C566 #93F266
monochromatic
#3311CC #502EED #7F66F2 #AE9EF7 #DDD7FC

Accessibility & contrast

On white

4.13
#7F66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7F66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66F2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66F2#FFFFFF#000000##000000
##7F66F21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#5886A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f66f2;
/* rgb */ color: rgb(127, 102, 242);
/* oklch */ color: oklch(60.7% 0.201 287.0);
Tailwind
colors: {
  custom: {
    50: '#ac92f7',
    500: '#7f66f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f66f2;
$custom-light: #ac92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66f2",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 250.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.20131,
    "h": 287
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#7F66F2
secondary
#E8F0C4
accent
#E105B9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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