#D366F2#D366F2

#D366F2 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.5% C 0.219 H 318.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D366F2
RGBrgb(211, 102, 242)
HSLhsl(287, 84%, 67%)
HSVhsv(287, 58%, 95%)
CMYKcmyk(12.8%, 57.9%, 0%, 5.1%)
CIE-LABlab(61.45, 63.34, -52.21)
CIE-LCHlch(61.45, 82.08, 320.50°)
OKLaboklab(69.46% 0.163 -0.1457)
OKLCHoklch(69.46% 0.219 318.2)
XYZxyz(47.6402, 29.7643, 87.2228)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366F2 #85F266
analogous
#8D66F2 #D366F2 #F266CB
triadic
#D366F2 #F2D366 #66F2D3
tetradic
#D366F2 #F28D66 #85F266 #66CBF2
square
#D366F2 #F28D66 #85F266 #66CBF2
split-complementary
#D366F2 #CBF266 #66F28D
monochromatic
#A311CC #C32EED #D366F2 #E39EF7 #F3D7FC

Accessibility & contrast

On white

3.02
#D366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D366F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366F2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366F2#FFFFFF#000000##000000
##D366F21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#D37DA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d366f2;
/* rgb */ color: rgb(211, 102, 242);
/* oklch */ color: oklch(69.5% 0.219 318.2);
Tailwind
colors: {
  custom: {
    50: '#e397f7',
    500: '#d366f2',
    950: '#000000',
  },
}
SCSS
$custom: #d366f2;
$custom-light: #e397f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d366f2",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 286.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69462,
    "c": 0.21858,
    "h": 318.2
  },
  "luminance": 0.29762
}

Semantic roles & 50–950 ramp

primary
#D366F2
secondary
#CEF0C4
accent
#E10535
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D366F2

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

Preview Lab → · Contrast checker → · Palette generator →

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