#D27AF4#D27AF4

#D27AF4 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.190 H 315.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D27AF4
RGBrgb(210, 122, 244)
HSLhsl(283, 85%, 72%)
HSVhsv(283, 50%, 96%)
CMYKcmyk(13.9%, 50%, 0%, 4.3%)
CIE-LABlab(65.08, 53.76, -47.57)
CIE-LCHlch(65.08, 71.79, 318.49°)
OKLaboklab(72.14% 0.1363 -0.1323)
OKLCHoklch(72.14% 0.19 315.9)
XYZxyz(49.8645, 34.1539, 89.5360)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AF4 #9CF47A
analogous
#957AF4 #D27AF4 #F47AD9
triadic
#D27AF4 #F4D27A #7AF4D2
tetradic
#D27AF4 #F4957A #9CF47A #7AD9F4
square
#D27AF4 #F4957A #9CF47A #7AD9F4
split-complementary
#D27AF4 #D9F47A #7AF495
monochromatic
#A713E1 #BF41EF #D27AF4 #E5B3F9 #F5E3FD

Accessibility & contrast

On white

2.68
#D27AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D27AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AF4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AF4#FFFFFF#000000##000000
##D27AF41.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F8
Deuteranopia (green-blind)
#7BA1F1
Tritanopia (blue-blind)
#D08CAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27af4;
/* rgb */ color: rgb(210, 122, 244);
/* oklch */ color: oklch(72.1% 0.190 315.9);
Tailwind
colors: {
  custom: {
    50: '#e2a3f8',
    500: '#d27af4',
    950: '#000000',
  },
}
SCSS
$custom: #d27af4;
$custom-light: #e2a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d27af4",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 283.279,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72138,
    "c": 0.18998,
    "h": 315.9
  },
  "luminance": 0.34152
}

Semantic roles & 50–950 ramp

primary
#D27AF4
secondary
#DEF4D5
accent
#E10442
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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