#D27DFA#D27DFA

#D27DFA is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.192 H 314.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D27DFA
RGBrgb(210, 125, 250)
HSLhsl(281, 93%, 74%)
HSVhsv(281, 50%, 98%)
CMYKcmyk(16%, 50%, 0%, 2%)
CIE-LABlab(65.96, 53.46, -49.49)
CIE-LCHlch(65.96, 72.85, 317.21°)
OKLaboklab(72.88% 0.133 -0.1379)
OKLCHoklch(72.88% 0.192 314)
XYZxyz(51.1644, 35.2723, 94.5369)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DFA #A5FA7D
analogous
#937DFA #D27DFA #FA7DE3
triadic
#D27DFA #FAD27D #7DFAD2
tetradic
#D27DFA #FA937D #A5FA7D #7DE3FA
square
#D27DFA #FA937D #A5FA7D #7DE3FA
split-complementary
#D27DFA #E3FA7D #7DFA93
monochromatic
#A809F3 #BE42F8 #D27DFA #E6B8FC #F5E2FE

Accessibility & contrast

On white

2.61
#D27DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D27DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DFA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DFA#FFFFFF#000000##000000
##D27DFA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#CF91B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27dfa;
/* rgb */ color: rgb(210, 125, 250);
/* oklch */ color: oklch(72.9% 0.192 314.0);
Tailwind
colors: {
  custom: {
    50: '#e2a5fc',
    500: '#d27dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d27dfa;
$custom-light: #e2a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d27dfa",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 280.8,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.19157,
    "h": 314
  },
  "luminance": 0.35271
}

Semantic roles & 50–950 ramp

primary
#D27DFA
secondary
#E0F6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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