#D27AEA#D27AEA

#D27AEA is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.180 H 318.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D27AEA
RGBrgb(210, 122, 234)
HSLhsl(287, 73%, 70%)
HSVhsv(287, 48%, 92%)
CMYKcmyk(10.3%, 47.9%, 0%, 8.2%)
CIE-LABlab(64.61, 51.77, -42.79)
CIE-LCHlch(64.61, 67.16, 320.42°)
OKLaboklab(71.64% 0.1351 -0.1185)
OKLCHoklch(71.64% 0.18 318.7)
XYZxyz(48.3872, 33.5629, 81.7554)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AEA #92EA7A
analogous
#9A7AEA #D27AEA #EA7ACA
triadic
#D27AEA #EAD27A #7AEAD2
tetradic
#D27AEA #EA9A7A #92EA7A #7ACAEA
square
#D27AEA #EA9A7A #92EA7A #7ACAEA
split-complementary
#D27AEA #CAEA7A #7AEA9A
monochromatic
#A520CA #C045E2 #D27AEA #E4AFF2 #F6E4FB

Accessibility & contrast

On white

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

On black

7.71
#D27AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AEA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AEA#FFFFFF#000000##000000
##D27AEA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#D289A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d27aea;
/* rgb */ color: rgb(210, 122, 234);
/* oklch */ color: oklch(71.6% 0.180 318.7);
Tailwind
colors: {
  custom: {
    50: '#e2a3f1',
    500: '#d27aea',
    950: '#000000',
  },
}
SCSS
$custom: #d27aea;
$custom-light: #e2a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d27aea",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 287.143,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71636,
    "c": 0.17968,
    "h": 318.7
  },
  "luminance": 0.33561
}

Semantic roles & 50–950 ramp

primary
#D27AEA
secondary
#D7F0D0
accent
#D5113B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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