#7F66F5#7F66F5

#7F66F5 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 60.9% C 0.205 H 286.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F66F5
RGBrgb(127, 102, 245)
HSLhsl(250, 88%, 68%)
HSVhsv(250, 58%, 96%)
CMYKcmyk(48.2%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.52, 45.03, -68.71)
CIE-LCHlch(52.52, 82.15, 303.24°)
OKLaboklab(60.94% 0.0588 -0.1965)
OKLCHoklch(60.94% 0.205 286.7)
XYZxyz(29.9804, 20.6060, 88.7661)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F66F5 #DCF566
analogous
#6694F5 #7F66F5 #C766F5
triadic
#7F66F5 #F57F66 #66F57F
tetradic
#7F66F5 #F56694 #DCF566 #66F5C7
square
#7F66F5 #F56694 #DCF566 #66F5C7
split-complementary
#7F66F5 #F5C766 #94F566
monochromatic
#300ED3 #4F2DF1 #7F66F5 #AF9FF9 #DFD9FD

Accessibility & contrast

On white

4.10
#7F66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7F66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F66F5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F66F5#FFFFFF#000000##000000
##7F66F51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#5687A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f66f5;
/* rgb */ color: rgb(127, 102, 245);
/* oklch */ color: oklch(60.9% 0.205 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac92f9',
    500: '#7f66f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f66f5;
$custom-light: #ac92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f66f5",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 250.49,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.20507,
    "h": 286.7
  },
  "luminance": 0.20607
}

Semantic roles & 50–950 ramp

primary
#7F66F5
secondary
#EAF1C6
accent
#E401BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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