#D27AEB#D27AEB

#D27AEB is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.181 H 318.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D27AEB
RGBrgb(210, 122, 235)
HSLhsl(287, 74%, 70%)
HSVhsv(287, 48%, 92%)
CMYKcmyk(10.6%, 48.1%, 0%, 7.8%)
CIE-LABlab(64.66, 51.96, -43.27)
CIE-LCHlch(64.66, 67.62, 320.21°)
OKLaboklab(71.69% 0.1352 -0.1199)
OKLCHoklch(71.69% 0.181 318.4)
XYZxyz(48.5312, 33.6206, 82.5141)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AEB #93EB7A
analogous
#9A7AEB #D27AEB #EB7ACB
triadic
#D27AEB #EBD27A #7AEBD2
tetradic
#D27AEB #EB9A7A #93EB7A #7ACBEB
square
#D27AEB #EB9A7A #93EB7A #7ACBEB
split-complementary
#D27AEB #CBEB7A #7AEB9A
monochromatic
#A61FCC #C045E3 #D27AEB #E4AFF3 #F6E4FB

Accessibility & contrast

On white

2.72
#D27AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D27AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AEB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AEB#FFFFFF#000000##000000
##D27AEB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#D28AA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d27aeb;
/* rgb */ color: rgb(210, 122, 235);
/* oklch */ color: oklch(71.7% 0.181 318.4);
Tailwind
colors: {
  custom: {
    50: '#e2a3f2',
    500: '#d27aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d27aeb;
$custom-light: #e2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d27aeb",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 286.726,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.71685,
    "c": 0.1807,
    "h": 318.4
  },
  "luminance": 0.33619
}

Semantic roles & 50–950 ramp

primary
#D27AEB
secondary
#D8F0D1
accent
#D6103B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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