#D27AFE#D27AFE

#D27AFE is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 72.7% C 0.200 H 313.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D27AFE
RGBrgb(210, 122, 254)
HSLhsl(280, 99%, 74%)
HSVhsv(280, 52%, 100%)
CMYKcmyk(17.3%, 52%, 0%, 0.4%)
CIE-LABlab(65.58, 55.81, -52.29)
CIE-LCHlch(65.58, 76.48, 316.86°)
OKLaboklab(72.66% 0.1373 -0.146)
OKLCHoklch(72.66% 0.2 313.2)
XYZxyz(51.4242, 34.7778, 97.7506)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AFE #A6FE7A
analogous
#907AFE #D27AFE #FE7AE8
triadic
#D27AFE #FED27A #7AFED2
tetradic
#D27AFE #FE907A #A6FE7A #7AE8FE
square
#D27AFE #FE907A #A6FE7A #7AE8FE
split-complementary
#D27AFE #E8FE7A #7AFE90
monochromatic
#A802FC #BD3DFE #D27AFE #E7B7FE #F5E1FF

Accessibility & contrast

On white

2.64
#D27AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D27AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AFE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AFE#FFFFFF#000000##000000
##D27AFE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#CE90B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27afe;
/* rgb */ color: rgb(210, 122, 254);
/* oklch */ color: oklch(72.7% 0.200 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2a3ff',
    500: '#d27afe',
    950: '#000000',
  },
}
SCSS
$custom: #d27afe;
$custom-light: #e2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27afe",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 280,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.20043,
    "h": 313.2
  },
  "luminance": 0.34776
}

Semantic roles & 50–950 ramp

primary
#D27AFE
secondary
#E0F7D4
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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