#D27AE4#D27AE4

#D27AE4 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.3% C 0.174 H 320.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D27AE4
RGBrgb(210, 122, 228)
HSLhsl(290, 66%, 69%)
HSVhsv(290, 46%, 89%)
CMYKcmyk(7.9%, 46.5%, 0%, 10.6%)
CIE-LABlab(64.34, 50.59, -39.89)
CIE-LCHlch(64.34, 64.43, 321.75°)
OKLaboklab(71.35% 0.1342 -0.1101)
OKLCHoklch(71.35% 0.174 320.6)
XYZxyz(47.5398, 33.2240, 77.2924)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AE4 #8CE47A
analogous
#9D7AE4 #D27AE4 #E47AC1
triadic
#D27AE4 #E4D27A #7AE4D2
tetradic
#D27AE4 #E49D7A #8CE47A #7AC1E4
square
#D27AE4 #E49D7A #8CE47A #7AC1E4
split-complementary
#D27AE4 #C1E47A #7AE49D
monochromatic
#A426BD #C147DA #D27AE4 #E3ADEE #F4E0F9

Accessibility & contrast

On white

2.75
#D27AE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D27AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AE4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AE4#FFFFFF#000000##000000
##D27AE41.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E8
Deuteranopia (green-blind)
#839FE1
Tritanopia (blue-blind)
#D488A4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d27ae4;
/* rgb */ color: rgb(210, 122, 228);
/* oklch */ color: oklch(71.3% 0.174 320.6);
Tailwind
colors: {
  custom: {
    50: '#e2a3ed',
    500: '#d27ae4',
    950: '#000000',
  },
}
SCSS
$custom: #d27ae4;
$custom-light: #e2a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ae4",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 289.811,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71345,
    "c": 0.1736,
    "h": 320.6
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#D27AE4
secondary
#D2EDCD
accent
#CE1736
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D27AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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