#D27AEF#D27AEF

#D27AEF is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.185 H 317.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D27AEF
RGBrgb(210, 122, 239)
HSLhsl(285, 79%, 71%)
HSVhsv(285, 49%, 94%)
CMYKcmyk(12.1%, 49%, 0%, 6.3%)
CIE-LABlab(64.85, 52.76, -45.19)
CIE-LCHlch(64.85, 69.46, 319.42°)
OKLaboklab(71.89% 0.1357 -0.1254)
OKLCHoklch(71.89% 0.185 317.3)
XYZxyz(49.1156, 33.8543, 85.5919)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AEF #97EF7A
analogous
#977AEF #D27AEF #EF7AD1
triadic
#D27AEF #EFD27A #7AEFD2
tetradic
#D27AEF #EF977A #97EF7A #7AD1EF
square
#D27AEF #EF977A #97EF7A #7AD1EF
split-complementary
#D27AEF #D1EF7A #7AEF97
monochromatic
#A71AD5 #C043E8 #D27AEF #E4B1F6 #F6E4FC

Accessibility & contrast

On white

2.70
#D27AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D27AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AEF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AEF#FFFFFF#000000##000000
##D27AEF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#D18BAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d27aef;
/* rgb */ color: rgb(210, 122, 239);
/* oklch */ color: oklch(71.9% 0.185 317.3);
Tailwind
colors: {
  custom: {
    50: '#e2a3f4',
    500: '#d27aef',
    950: '#000000',
  },
}
SCSS
$custom: #d27aef;
$custom-light: #e2a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27aef",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 285.128,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.18481,
    "h": 317.3
  },
  "luminance": 0.33853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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