#7E66F6#7E66F6

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

Color values

HEX#7E66F6
RGBrgb(126, 102, 246)
HSLhsl(250, 89%, 68%)
HSVhsv(250, 59%, 96%)
CMYKcmyk(48.8%, 58.5%, 0%, 3.5%)
CIE-LABlab(52.50, 45.12, -69.29)
CIE-LCHlch(52.50, 82.69, 303.07°)
OKLaboklab(60.93% 0.0575 -0.1982)
OKLCHoklch(60.93% 0.206 286.2)
XYZxyz(29.9852, 20.5908, 89.5654)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66F6 #DEF666
analogous
#6696F6 #7E66F6 #C666F6
triadic
#7E66F6 #F67E66 #66F67E
tetradic
#7E66F6 #F66696 #DEF666 #66F6C6
square
#7E66F6 #F66696 #DEF666 #66F6C6
split-complementary
#7E66F6 #F6C666 #96F666
monochromatic
#2E0DD5 #4D2CF3 #7E66F6 #AFA0F9 #DFDAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E66F6#FFFFFF#000000##000000
##7E66F61.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)
#0081FB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#5387A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e66f6;
/* rgb */ color: rgb(126, 102, 246);
/* oklch */ color: oklch(60.9% 0.206 286.2);
Tailwind
colors: {
  custom: {
    50: '#ac92fa',
    500: '#7e66f6',
    950: '#000000',
  },
}
SCSS
$custom: #7e66f6;
$custom-light: #ac92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66f6",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 250,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.20639,
    "h": 286.2
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#7E66F6
secondary
#EAF2C6
accent
#E600BF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E66F6

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

Preview Lab → · Contrast checker → · Palette generator →

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