#DB66EC#DB66EC

#DB66EC is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.1% C 0.217 H 322.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#DB66EC
RGBrgb(219, 102, 236)
HSLhsl(292, 78%, 66%)
HSVhsv(292, 57%, 93%)
CMYKcmyk(7.2%, 56.8%, 0%, 7.5%)
CIE-LABlab(62.19, 64.19, -47.65)
CIE-LCHlch(62.19, 79.94, 323.41°)
OKLaboklab(70.12% 0.1718 -0.1322)
OKLCHoklch(70.12% 0.217 322.4)
XYZxyz(49.1035, 30.6214, 82.6647)
Luminance0.3062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB66EC #77EC66
analogous
#9866EC #DB66EC #EC66BA
triadic
#DB66EC #ECDB66 #66ECDB
tetradic
#DB66EC #EC9866 #77EC66 #66BAEC
square
#DB66EC #EC9866 #77EC66 #66BAEC
split-complementary
#DB66EC #BAEC66 #66EC98
monochromatic
#AA18C0 #CE30E5 #DB66EC #E89CF3 #F5D3FA

Accessibility & contrast

On white

2.95
#DB66EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#DB66EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB66EC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB66EC#FFFFFF#000000##000000
##DB66EC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF0
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#DE79A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #db66ec;
/* rgb */ color: rgb(219, 102, 236);
/* oklch */ color: oklch(70.1% 0.217 322.4);
Tailwind
colors: {
  custom: {
    50: '#e997f2',
    500: '#db66ec',
    950: '#000000',
  },
}
SCSS
$custom: #db66ec;
$custom-light: #e997f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db66ec",
  "rgb": {
    "r": 219,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 292.388,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70118,
    "c": 0.21676,
    "h": 322.4
  },
  "luminance": 0.30619
}

Semantic roles & 50–950 ramp

primary
#DB66EC
secondary
#C7EDC1
accent
#DA0B26
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #DB66EC

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

Preview Lab → · Contrast checker → · Palette generator →

#DB66EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva