#D366F1#D366F1

#D366F1 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.4% C 0.218 H 318.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D366F1
RGBrgb(211, 102, 241)
HSLhsl(287, 83%, 67%)
HSVhsv(287, 58%, 95%)
CMYKcmyk(12.4%, 57.7%, 0%, 5.5%)
CIE-LABlab(61.40, 63.14, -51.74)
CIE-LCHlch(61.40, 81.63, 320.67°)
OKLaboklab(69.41% 0.1629 -0.1443)
OKLCHoklch(69.41% 0.218 318.5)
XYZxyz(47.4904, 29.7044, 86.4340)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366F1 #84F166
analogous
#8D66F1 #D366F1 #F166CA
triadic
#D366F1 #F1D366 #66F1D3
tetradic
#D366F1 #F18D66 #84F166 #66CAF1
square
#D366F1 #F18D66 #84F166 #66CAF1
split-complementary
#D366F1 #CAF166 #66F18D
monochromatic
#A212CA #C32EEC #D366F1 #E39EF6 #F3D6FB

Accessibility & contrast

On white

3.03
#D366F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D366F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D366F1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366F1#FFFFFF#000000##000000
##D366F11.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458DF5
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#D37CA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d366f1;
/* rgb */ color: rgb(211, 102, 241);
/* oklch */ color: oklch(69.4% 0.218 318.5);
Tailwind
colors: {
  custom: {
    50: '#e397f6',
    500: '#d366f1',
    950: '#000000',
  },
}
SCSS
$custom: #d366f1;
$custom-light: #e397f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d366f1",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 287.05,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69407,
    "c": 0.21763,
    "h": 318.5
  },
  "luminance": 0.29702
}

Semantic roles & 50–950 ramp

primary
#D366F1
secondary
#CDEFC3
accent
#E00635
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D366F1

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

Preview Lab → · Contrast checker → · Palette generator →

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