#D27BEE#D27BEE

#D27BEE is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.0% C 0.182 H 317.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D27BEE
RGBrgb(210, 123, 238)
HSLhsl(285, 77%, 71%)
HSVhsv(285, 48%, 93%)
CMYKcmyk(11.8%, 48.3%, 0%, 6.7%)
CIE-LABlab(65.00, 52.05, -44.40)
CIE-LCHlch(65.00, 68.41, 319.53°)
OKLaboklab(71.98% 0.1343 -0.1231)
OKLCHoklch(71.98% 0.182 317.5)
XYZxyz(49.0917, 34.0422, 84.8572)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27BEE #97EE7B
analogous
#987BEE #D27BEE #EE7BD1
triadic
#D27BEE #EED27B #7BEED2
tetradic
#D27BEE #EE987B #97EE7B #7BD1EE
square
#D27BEE #EE987B #97EE7B #7BD1EE
split-complementary
#D27BEE #D1EE7B #7BEE98
monochromatic
#A71BD3 #C045E7 #D27BEE #E4B1F5 #F6E4FC

Accessibility & contrast

On white

2.69
#D27BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D27BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27BEE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27BEE#FFFFFF#000000##000000
##D27BEE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#D28BAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27bee;
/* rgb */ color: rgb(210, 123, 238);
/* oklch */ color: oklch(72.0% 0.182 317.5);
Tailwind
colors: {
  custom: {
    50: '#e2a4f4',
    500: '#d27bee',
    950: '#000000',
  },
}
SCSS
$custom: #d27bee;
$custom-light: #e2a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27bee",
  "rgb": {
    "r": 210,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 285.391,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7198,
    "c": 0.18218,
    "h": 317.5
  },
  "luminance": 0.34041
}

Semantic roles & 50–950 ramp

primary
#D27BEE
secondary
#DAF2D3
accent
#D90C3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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