#D27DEE#D27DEE

#D27DEE is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.3% C 0.179 H 317.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D27DEE
RGBrgb(210, 125, 238)
HSLhsl(285, 77%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.8%, 47.5%, 0%, 6.7%)
CIE-LABlab(65.39, 51.02, -43.78)
CIE-LCHlch(65.39, 67.23, 319.37°)
OKLaboklab(72.27% 0.1315 -0.1214)
OKLCHoklch(72.27% 0.179 317.3)
XYZxyz(49.3424, 34.5435, 84.9407)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DEE #99EE7D
analogous
#997DEE #D27DEE #EE7DD1
triadic
#D27DEE #EED27D #7DEED2
tetradic
#D27DEE #EE997D #99EE7D #7DD1EE
square
#D27DEE #EE997D #99EE7D #7DD1EE
split-complementary
#D27DEE #D1EE7D #7DEE99
monochromatic
#A71CD5 #BF47E7 #D27DEE #E5B3F5 #F6E4FB

Accessibility & contrast

On white

2.66
#D27DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D27DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DEE
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DEE#FFFFFF#000000##000000
##D27DEE1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#81A2EB
Tritanopia (blue-blind)
#D18DAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27dee;
/* rgb */ color: rgb(210, 125, 238);
/* oklch */ color: oklch(72.3% 0.179 317.3);
Tailwind
colors: {
  custom: {
    50: '#e2a5f4',
    500: '#d27dee',
    950: '#000000',
  },
}
SCSS
$custom: #d27dee;
$custom-light: #e2a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27dee",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 238
  },
  "hsl": {
    "h": 285.133,
    "s": 76.871,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.17896,
    "h": 317.3
  },
  "luminance": 0.34542
}

Semantic roles & 50–950 ramp

primary
#D27DEE
secondary
#DCF2D5
accent
#D90C3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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