#D366FE#D366FE

#D366FE is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.1% C 0.230 H 315.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D366FE
RGBrgb(211, 102, 254)
HSLhsl(283, 99%, 70%)
HSVhsv(283, 60%, 100%)
CMYKcmyk(16.9%, 59.8%, 0%, 0.4%)
CIE-LABlab(62.09, 65.68, -57.82)
CIE-LCHlch(62.09, 87.51, 318.64°)
OKLaboklab(70.14% 0.1633 -0.162)
OKLCHoklch(70.14% 0.23 315.2)
XYZxyz(49.5019, 30.5090, 97.0279)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D366FE #91FE66
analogous
#8766FE #D366FE #FE66DD
triadic
#D366FE #FED366 #66FED3
tetradic
#D366FE #FE8766 #91FE66 #66DDFE
square
#D366FE #FE8766 #91FE66 #66DDFE
split-complementary
#D366FE #DDFE66 #66FE87
monochromatic
#A702E8 #C229FE #D366FE #E4A3FE #F6E0FF

Accessibility & contrast

On white

2.96
#D366FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D366FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D366FE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D366FE#FFFFFF#000000##000000
##D366FE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#D081A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d366fe;
/* rgb */ color: rgb(211, 102, 254);
/* oklch */ color: oklch(70.1% 0.230 315.2);
Tailwind
colors: {
  custom: {
    50: '#e497ff',
    500: '#d366fe',
    950: '#000000',
  },
}
SCSS
$custom: #d366fe;
$custom-light: #e497ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d366fe",
  "rgb": {
    "r": 211,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 283.026,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.23003,
    "h": 315.2
  },
  "luminance": 0.30507
}

Semantic roles & 50–950 ramp

primary
#D366FE
secondary
#D7F5CA
accent
#E60041
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D366FE

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

Preview Lab → · Contrast checker → · Palette generator →

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