#D27EEF#D27EEF

#D27EEF is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.5% C 0.178 H 316.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D27EEF
RGBrgb(210, 126, 239)
HSLhsl(285, 78%, 72%)
HSVhsv(285, 47%, 94%)
CMYKcmyk(12.1%, 47.3%, 0%, 6.3%)
CIE-LABlab(65.64, 50.71, -43.95)
CIE-LCHlch(65.64, 67.10, 319.09°)
OKLaboklab(72.47% 0.1303 -0.1218)
OKLCHoklch(72.47% 0.178 316.9)
XYZxyz(49.6169, 34.8569, 85.7590)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EEF #9BEF7E
analogous
#9A7EEF #D27EEF #EF7ED4
triadic
#D27EEF #EFD27E #7EEFD2
tetradic
#D27EEF #EF9A7E #9BEF7E #7ED4EF
square
#D27EEF #EF9A7E #9BEF7E #7ED4EF
split-complementary
#D27EEF #D4EF7E #7EEF9A
monochromatic
#A71BD8 #BF48E8 #D27EEF #E5B4F6 #F6E4FC

Accessibility & contrast

On white

2.63
#D27EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D27EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EEF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EEF#FFFFFF#000000##000000
##D27EEF1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#D18EAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27eef;
/* rgb */ color: rgb(210, 126, 239);
/* oklch */ color: oklch(72.5% 0.178 316.9);
Tailwind
colors: {
  custom: {
    50: '#e2a6f4',
    500: '#d27eef',
    950: '#000000',
  },
}
SCSS
$custom: #d27eef;
$custom-light: #e2a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27eef",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 284.602,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72471,
    "c": 0.1784,
    "h": 316.9
  },
  "luminance": 0.34855
}

Semantic roles & 50–950 ramp

primary
#D27EEF
secondary
#DDF3D6
accent
#DA0B40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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