#7E66F5#7E66F5

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

Color values

HEX#7E66F5
RGBrgb(126, 102, 245)
HSLhsl(250, 88%, 68%)
HSVhsv(250, 58%, 96%)
CMYKcmyk(48.6%, 58.4%, 0%, 3.9%)
CIE-LABlab(52.43, 44.84, -68.85)
CIE-LCHlch(52.43, 82.16, 303.07°)
OKLaboklab(60.86% 0.0575 -0.1969)
OKLCHoklch(60.86% 0.205 286.3)
XYZxyz(29.8321, 20.5295, 88.7592)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66F5 #DDF566
analogous
#6695F5 #7E66F5 #C566F5
triadic
#7E66F5 #F57E66 #66F57E
tetradic
#7E66F5 #F56695 #DDF566 #66F5C5
square
#7E66F5 #F56695 #DDF566 #66F5C5
split-complementary
#7E66F5 #F5C566 #95F566
monochromatic
#2F0ED3 #4E2DF1 #7E66F5 #AE9FF9 #DFD9FD

Accessibility & contrast

On white

4.11
#7E66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7E66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66F5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66F5#FFFFFF#000000##000000
##7E66F51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e66f5;
/* rgb */ color: rgb(126, 102, 245);
/* oklch */ color: oklch(60.9% 0.205 286.3);
Tailwind
colors: {
  custom: {
    50: '#ab92f9',
    500: '#7e66f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e66f5;
$custom-light: #ab92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66f5",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 250.07,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.20514,
    "h": 286.3
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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