#D27EF9#D27EF9

#D27EF9 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.189 H 314.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D27EF9
RGBrgb(210, 126, 249)
HSLhsl(281, 91%, 74%)
HSVhsv(281, 49%, 98%)
CMYKcmyk(15.7%, 49.4%, 0%, 2.4%)
CIE-LABlab(66.11, 52.74, -48.71)
CIE-LCHlch(66.11, 71.79, 317.28°)
OKLaboklab(72.97% 0.1316 -0.1356)
OKLCHoklch(72.97% 0.189 314.1)
XYZxyz(51.1353, 35.4642, 93.7557)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EF9 #A5F97E
analogous
#947EF9 #D27EF9 #F97EE2
triadic
#D27EF9 #F9D27E #7EF9D2
tetradic
#D27EF9 #F9947E #A5F97E #7EE2F9
square
#D27EF9 #F9947E #A5F97E #7EE2F9
split-complementary
#D27EF9 #E2F97E #7EF994
monochromatic
#A80BF1 #BE44F6 #D27EF9 #E6B8FC #F5E2FE

Accessibility & contrast

On white

2.59
#D27EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D27EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EF9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EF9#FFFFFF#000000##000000
##D27EF91.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#CF91B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27ef9;
/* rgb */ color: rgb(210, 126, 249);
/* oklch */ color: oklch(73.0% 0.189 314.1);
Tailwind
colors: {
  custom: {
    50: '#e2a6fc',
    500: '#d27ef9',
    950: '#000000',
  },
}
SCSS
$custom: #d27ef9;
$custom-light: #e2a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ef9",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 280.976,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72975,
    "c": 0.18895,
    "h": 314.1
  },
  "luminance": 0.35463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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