#D27DEB#D27DEB

#D27DEB is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.176 H 318.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D27DEB
RGBrgb(210, 125, 235)
HSLhsl(286, 73%, 71%)
HSVhsv(286, 47%, 92%)
CMYKcmyk(10.6%, 46.8%, 0%, 7.8%)
CIE-LABlab(65.25, 50.43, -42.34)
CIE-LCHlch(65.25, 65.84, 319.98°)
OKLaboklab(72.13% 0.1311 -0.1172)
OKLCHoklch(72.13% 0.176 318.2)
XYZxyz(48.9053, 34.3687, 82.6388)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DEB #96EB7D
analogous
#9B7DEB #D27DEB #EB7DCD
triadic
#D27DEB #EBD27D #7DEBD2
tetradic
#D27DEB #EB9B7D #96EB7D #7DCDEB
square
#D27DEB #EB9B7D #96EB7D #7DCDEB
split-complementary
#D27DEB #CDEB7D #7DEB9B
monochromatic
#A620CE #C048E3 #D27DEB #E4B2F3 #F6E4FB

Accessibility & contrast

On white

2.67
#D27DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D27DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DEB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DEB#FFFFFF#000000##000000
##D27DEB1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#D28CA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27deb;
/* rgb */ color: rgb(210, 125, 235);
/* oklch */ color: oklch(72.1% 0.176 318.2);
Tailwind
colors: {
  custom: {
    50: '#e2a5f2',
    500: '#d27deb',
    950: '#000000',
  },
}
SCSS
$custom: #d27deb;
$custom-light: #e2a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d27deb",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 286.364,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.17586,
    "h": 318.2
  },
  "luminance": 0.34367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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