#D366EB#D366EB

#D366EB is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.1% C 0.212 H 320.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#D366EB
RGBrgb(211, 102, 235)
HSLhsl(289, 77%, 66%)
HSVhsv(289, 57%, 92%)
CMYKcmyk(10.2%, 56.6%, 0%, 7.8%)
CIE-LABlab(61.09, 62.00, -48.89)
CIE-LCHlch(61.09, 78.96, 321.74°)
OKLaboklab(69.08% 0.1626 -0.136)
OKLCHoklch(69.08% 0.212 320.1)
XYZxyz(46.6089, 29.3518, 81.7915)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366EB #7EEB66
analogous
#9066EB #D366EB #EB66C0
triadic
#D366EB #EBD366 #66EBD3
tetradic
#D366EB #EB9066 #7EEB66 #66C0EB
square
#D366EB #EB9066 #7EEB66 #66C0EB
split-complementary
#D366EB #C0EB66 #66EB90
monochromatic
#A019BE #C330E4 #D366EB #E39CF2 #F2D2F9

Accessibility & contrast

On white

3.06
#D366EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#D366EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366EB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366EB#FFFFFF#000000##000000
##D366EB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#D47A9F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d366eb;
/* rgb */ color: rgb(211, 102, 235);
/* oklch */ color: oklch(69.1% 0.212 320.1);
Tailwind
colors: {
  custom: {
    50: '#e397f2',
    500: '#d366eb',
    950: '#000000',
  },
}
SCSS
$custom: #d366eb;
$custom-light: #e397f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d366eb",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 289.173,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69083,
    "c": 0.21198,
    "h": 320.1
  },
  "luminance": 0.2935
}

Semantic roles & 50–950 ramp

primary
#D366EB
secondary
#C8ECC1
accent
#D90C31
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D366EB

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

Preview Lab → · Contrast checker → · Palette generator →

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