#D27EEE#D27EEE

#D27EEE is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.4% C 0.177 H 317.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D27EEE
RGBrgb(210, 126, 238)
HSLhsl(285, 77%, 71%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.8%, 47.1%, 0%, 6.7%)
CIE-LABlab(65.59, 50.51, -43.47)
CIE-LCHlch(65.59, 66.64, 319.28°)
OKLaboklab(72.42% 0.1302 -0.1205)
OKLCHoklch(72.42% 0.177 317.2)
XYZxyz(49.4696, 34.7980, 84.9831)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EEE #9AEE7E
analogous
#9A7EEE #D27EEE #EE7ED2
triadic
#D27EEE #EED27E #7EEED2
tetradic
#D27EEE #EE9A7E #9AEE7E #7ED2EE
square
#D27EEE #EE9A7E #9AEE7E #7ED2EE
split-complementary
#D27EEE #D2EE7E #7EEE9A
monochromatic
#A71CD5 #BF48E7 #D27EEE #E5B4F5 #F6E4FB

Accessibility & contrast

On white

2.64
#D27EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D27EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EEE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EEE#FFFFFF#000000##000000
##D27EEE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#D18EAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27eee;
/* rgb */ color: rgb(210, 126, 238);
/* oklch */ color: oklch(72.4% 0.177 317.2);
Tailwind
colors: {
  custom: {
    50: '#e2a6f4',
    500: '#d27eee',
    950: '#000000',
  },
}
SCSS
$custom: #d27eee;
$custom-light: #e2a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27eee",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 285,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.17735,
    "h": 317.2
  },
  "luminance": 0.34796
}

Semantic roles & 50–950 ramp

primary
#D27EEE
secondary
#DDF2D5
accent
#D90D40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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