#D154EF#D154EF

#D154EF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.0% C 0.239 H 319.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D154EF
RGBrgb(209, 84, 239)
HSLhsl(288, 83%, 63%)
HSVhsv(288, 65%, 94%)
CMYKcmyk(12.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(58.16, 70.17, -55.80)
CIE-LCHlch(58.16, 89.65, 321.51°)
OKLaboklab(66.97% 0.1814 -0.1561)
OKLCHoklch(66.97% 0.239 319.3)
XYZxyz(45.0428, 26.1300, 84.3156)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D154EF #72EF54
analogous
#8354EF #D154EF #EF54BF
triadic
#D154EF #EFD154 #54EFD1
tetradic
#D154EF #EF8354 #72EF54 #54BFEF
square
#D154EF #EF8354 #72EF54 #54BFEF
split-complementary
#D154EF #BFEF54 #54EF83
monochromatic
#9711B7 #C21CEA #D154EF #E08CF4 #EFC4F9

Accessibility & contrast

On white

3.37
#D154EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D154EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D154EF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D154EF#FFFFFF#000000##000000
##D154EF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F4
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#D16F9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d154ef;
/* rgb */ color: rgb(209, 84, 239);
/* oklch */ color: oklch(67.0% 0.239 319.3);
Tailwind
colors: {
  custom: {
    50: '#e38cf5',
    500: '#d154ef',
    950: '#000000',
  },
}
SCSS
$custom: #d154ef;
$custom-light: #e38cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d154ef",
  "rgb": {
    "r": 209,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 288.387,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66969,
    "c": 0.23932,
    "h": 319.3
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#D154EF
secondary
#BEEBB4
accent
#DF0630
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D154EF

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

Preview Lab → · Contrast checker → · Palette generator →

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