#D27AFD#D27AFD

#D27AFD is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.199 H 313.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D27AFD
RGBrgb(210, 122, 253)
HSLhsl(280, 97%, 74%)
HSVhsv(280, 52%, 99%)
CMYKcmyk(17%, 51.8%, 0%, 0.8%)
CIE-LABlab(65.53, 55.60, -51.82)
CIE-LCHlch(65.53, 76.00, 317.01°)
OKLaboklab(72.61% 0.1372 -0.1447)
OKLCHoklch(72.61% 0.199 313.5)
XYZxyz(51.2645, 34.7139, 96.9094)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AFD #A5FD7A
analogous
#907AFD #D27AFD #FD7AE7
triadic
#D27AFD #FDD27A #7AFDD2
tetradic
#D27AFD #FD907A #A5FD7A #7AE7FD
square
#D27AFD #FD907A #A5FD7A #7AE7FD
split-complementary
#D27AFD #E7FD7A #7AFD90
monochromatic
#A804F9 #BE3EFC #D27AFD #E6B6FE #F5E1FF

Accessibility & contrast

On white

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

On black

7.94
#D27AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AFD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AFD#FFFFFF#000000##000000
##D27AFD1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#CE8FB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27afd;
/* rgb */ color: rgb(210, 122, 253);
/* oklch */ color: oklch(72.6% 0.199 313.5);
Tailwind
colors: {
  custom: {
    50: '#e2a3fe',
    500: '#d27afd',
    950: '#000000',
  },
}
SCSS
$custom: #d27afd;
$custom-light: #e2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d27afd",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 280.305,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72607,
    "c": 0.19939,
    "h": 313.5
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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