#7E66DA#7E66DA

#7E66DA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.171 H 289.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E66DA
RGBrgb(126, 102, 218)
HSLhsl(252, 61%, 63%)
HSVhsv(252, 53%, 85%)
CMYKcmyk(42.2%, 53.2%, 0%, 14.5%)
CIE-LABlab(50.69, 37.16, -56.49)
CIE-LCHlch(50.69, 67.62, 303.34°)
OKLaboklab(59.01% 0.0574 -0.1606)
OKLCHoklch(59.01% 0.171 289.7)
XYZxyz(26.0069, 18.9995, 68.6131)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66DA #C2DA66
analogous
#6688DA #7E66DA #B866DA
triadic
#7E66DA #DA7E66 #66DA7E
tetradic
#7E66DA #DA6688 #C2DA66 #66DAB8
square
#7E66DA #DA6688 #C2DA66 #66DAB8
split-complementary
#7E66DA #DAB866 #88DA66
monochromatic
#3F269F #5435CE #7E66DA #A897E6 #D1C9F2

Accessibility & contrast

On white

4.38
#7E66DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7E66DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66DA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66DA#FFFFFF#000000##000000
##7E66DA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDE
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#647F96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e66da;
/* rgb */ color: rgb(126, 102, 218);
/* oklch */ color: oklch(59.0% 0.171 289.7);
Tailwind
colors: {
  custom: {
    50: '#a892e6',
    500: '#7e66da',
    950: '#000000',
  },
}
SCSS
$custom: #7e66da;
$custom-light: #a892e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66da",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 252.414,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.17051,
    "h": 289.7
  },
  "luminance": 0.19
}

Semantic roles & 50–950 ramp

primary
#7E66DA
secondary
#DAE3B9
accent
#C91DA5
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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