#7E66CE#7E66CE

#7E66CE is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.155 H 291.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E66CE
RGBrgb(126, 102, 206)
HSLhsl(254, 51%, 60%)
HSVhsv(254, 50%, 81%)
CMYKcmyk(38.8%, 50.5%, 0%, 19.2%)
CIE-LABlab(49.97, 33.82, -50.81)
CIE-LCHlch(49.97, 61.04, 303.65°)
OKLaboklab(58.25% 0.0566 -0.1439)
OKLCHoklch(58.25% 0.155 291.5)
XYZxyz(24.4931, 18.3939, 60.6405)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66CE #B6CE66
analogous
#6682CE #7E66CE #B266CE
triadic
#7E66CE #CE7E66 #66CE7E
tetradic
#7E66CE #CE6682 #B6CE66 #66CEB2
square
#7E66CE #CE6682 #B6CE66 #66CEB2
split-complementary
#7E66CE #CEB266 #82CE66
monochromatic
#432D8D #593CBB #7E66CE #A594DD #CCC3EC

Accessibility & contrast

On white

4.49
#7E66CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E66CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66CE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66CE#FFFFFF#000000##000000
##7E66CE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D2
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#697B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e66ce;
/* rgb */ color: rgb(126, 102, 206);
/* oklch */ color: oklch(58.3% 0.155 291.5);
Tailwind
colors: {
  custom: {
    50: '#a792dd',
    500: '#7e66ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e66ce;
$custom-light: #a792dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66ce",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 253.846,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.15463,
    "h": 291.5
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#7E66CE
secondary
#D3DCB4
accent
#BF279C
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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