#D27DF9#D27DF9

#D27DF9 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.191 H 314.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D27DF9
RGBrgb(210, 125, 249)
HSLhsl(281, 91%, 73%)
HSVhsv(281, 50%, 98%)
CMYKcmyk(15.7%, 49.8%, 0%, 2.4%)
CIE-LABlab(65.91, 53.25, -49.02)
CIE-LCHlch(65.91, 72.38, 317.37°)
OKLaboklab(72.83% 0.1329 -0.1365)
OKLCHoklch(72.83% 0.191 314.2)
XYZxyz(51.0081, 35.2098, 93.7133)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DF9 #A4F97D
analogous
#947DF9 #D27DF9 #F97DE2
triadic
#D27DF9 #F9D27D #7DF9D2
tetradic
#D27DF9 #F9947D #A4F97D #7DE2F9
square
#D27DF9 #F9947D #A4F97D #7DE2F9
split-complementary
#D27DF9 #E2F97D #7DF994
monochromatic
#A80BF0 #BE42F6 #D27DF9 #E6B7FC #F5E2FE

Accessibility & contrast

On white

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

On black

8.04
#D27DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DF9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DF9#FFFFFF#000000##000000
##D27DF91.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#7BA2F6
Tritanopia (blue-blind)
#CF90B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27df9;
/* rgb */ color: rgb(210, 125, 249);
/* oklch */ color: oklch(72.8% 0.191 314.2);
Tailwind
colors: {
  custom: {
    50: '#e2a5fc',
    500: '#d27df9',
    950: '#000000',
  },
}
SCSS
$custom: #d27df9;
$custom-light: #e2a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d27df9",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 281.129,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.19052,
    "h": 314.2
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

primary
#D27DF9
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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