#D27EDA#D27EDA

#D27EDA is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.157 H 323.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D27EDA
RGBrgb(210, 126, 218)
HSLhsl(295, 55%, 67%)
HSVhsv(295, 42%, 85%)
CMYKcmyk(3.7%, 42.2%, 0%, 14.5%)
CIE-LABlab(64.71, 46.62, -33.75)
CIE-LCHlch(64.71, 57.55, 324.10°)
OKLaboklab(71.48% 0.1268 -0.0925)
OKLCHoklch(71.48% 0.157 323.9)
XYZxyz(46.6928, 33.6873, 70.3588)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EDA #86DA7E
analogous
#A47EDA #D27EDA #DA7EB4
triadic
#D27EDA #DAD27E #7EDAD2
tetradic
#D27EDA #DAA47E #86DA7E #7EB4DA
square
#D27EDA #DAA47E #86DA7E #7EB4DA
split-complementary
#D27EDA #B4DA7E #7EDAA4
monochromatic
#A231AC #C14ECC #D27EDA #E3AEE8 #F3DDF5

Accessibility & contrast

On white

2.71
#D27EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D27EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EDA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EDA#FFFFFF#000000##000000
##D27EDA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#8BA1D7
Tritanopia (blue-blind)
#D588A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d27eda;
/* rgb */ color: rgb(210, 126, 218);
/* oklch */ color: oklch(71.5% 0.157 323.9);
Tailwind
colors: {
  custom: {
    50: '#e1a5e5',
    500: '#d27eda',
    950: '#000000',
  },
}
SCSS
$custom: #d27eda;
$custom-light: #e1a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d27eda",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 294.783,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7148,
    "c": 0.15696,
    "h": 323.9
  },
  "luminance": 0.33685
}

Semantic roles & 50–950 ramp

primary
#D27EDA
secondary
#CEE8CC
accent
#C32331
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D27EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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