#D27DEC#D27DEC

#D27DEC is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.177 H 317.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D27DEC
RGBrgb(210, 125, 236)
HSLhsl(286, 74%, 71%)
HSVhsv(286, 47%, 93%)
CMYKcmyk(11%, 47%, 0%, 7.5%)
CIE-LABlab(65.30, 50.63, -42.82)
CIE-LCHlch(65.30, 66.31, 319.77°)
OKLaboklab(72.18% 0.1313 -0.1186)
OKLCHoklch(72.18% 0.177 317.9)
XYZxyz(49.0502, 34.4266, 83.4018)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DEC #97EC7D
analogous
#9A7DEC #D27DEC #EC7DCE
triadic
#D27DEC #ECD27D #7DECD2
tetradic
#D27DEC #EC9A7D #97EC7D #7DCEEC
square
#D27DEC #EC9A7D #97EC7D #7DCEEC
split-complementary
#D27DEC #CEEC7D #7DEC9A
monochromatic
#A71ED0 #C048E4 #D27DEC #E4B2F4 #F6E4FB

Accessibility & contrast

On white

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

On black

7.89
#D27DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DEC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DEC#FFFFFF#000000##000000
##D27DEC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#82A1E9
Tritanopia (blue-blind)
#D28CAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27dec;
/* rgb */ color: rgb(210, 125, 236);
/* oklch */ color: oklch(72.2% 0.177 317.9);
Tailwind
colors: {
  custom: {
    50: '#e2a5f2',
    500: '#d27dec',
    950: '#000000',
  },
}
SCSS
$custom: #d27dec;
$custom-light: #e2a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d27dec",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 285.946,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72175,
    "c": 0.17689,
    "h": 317.9
  },
  "luminance": 0.34425
}

Semantic roles & 50–950 ramp

primary
#D27DEC
secondary
#DAF1D3
accent
#D70F3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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