#7E66CD#7E66CD

#7E66CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.153 H 291.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E66CD
RGBrgb(126, 102, 205)
HSLhsl(254, 51%, 60%)
HSVhsv(254, 50%, 80%)
CMYKcmyk(38.5%, 50.2%, 0%, 19.6%)
CIE-LABlab(49.91, 33.55, -50.33)
CIE-LCHlch(49.91, 60.49, 303.69°)
OKLaboklab(58.19% 0.0565 -0.1425)
OKLCHoklch(58.19% 0.153 291.6)
XYZxyz(24.3720, 18.3455, 60.0027)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66CD #B5CD66
analogous
#6681CD #7E66CD #B266CD
triadic
#7E66CD #CD7E66 #66CD7E
tetradic
#7E66CD #CD6681 #B5CD66 #66CDB2
square
#7E66CD #CD6681 #B5CD66 #66CDB2
split-complementary
#7E66CD #CDB266 #81CD66
monochromatic
#432D8B #5A3DB9 #7E66CD #A594DC #CCC2EB

Accessibility & contrast

On white

4.50
#7E66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7E66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66CD#FFFFFF#000000##000000
##7E66CD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#697B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e66cd;
/* rgb */ color: rgb(126, 102, 205);
/* oklch */ color: oklch(58.2% 0.153 291.6);
Tailwind
colors: {
  custom: {
    50: '#a792dd',
    500: '#7e66cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e66cd;
$custom-light: #a792dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66cd",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 253.981,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.1533,
    "h": 291.6
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#7E66CD
secondary
#D2DBB4
accent
#BE279B
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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