#D154F2#D154F2

#D154F2 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.1% C 0.242 H 318.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D154F2
RGBrgb(209, 84, 242)
HSLhsl(287, 86%, 64%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(13.6%, 65.3%, 0%, 5.1%)
CIE-LABlab(58.33, 70.72, -57.20)
CIE-LCHlch(58.33, 90.96, 321.03°)
OKLaboklab(67.15% 0.1814 -0.1602)
OKLCHoklch(67.15% 0.242 318.6)
XYZxyz(45.4897, 26.3088, 86.6691)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D154F2 #75F254
analogous
#8254F2 #D154F2 #F254C4
triadic
#D154F2 #F2D154 #54F2D1
tetradic
#D154F2 #F28254 #75F254 #54C4F2
square
#D154F2 #F28254 #75F254 #54C4F2
split-complementary
#D154F2 #C4F254 #54F282
monochromatic
#990EBD #C21BEE #D154F2 #E08DF6 #F0C6FB

Accessibility & contrast

On white

3.35
#D154F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D154F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D154F2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D154F2#FFFFFF#000000##000000
##D154F21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#D1719C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d154f2;
/* rgb */ color: rgb(209, 84, 242);
/* oklch */ color: oklch(67.1% 0.242 318.6);
Tailwind
colors: {
  custom: {
    50: '#e38df7',
    500: '#d154f2',
    950: '#000000',
  },
}
SCSS
$custom: #d154f2;
$custom-light: #e38df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d154f2",
  "rgb": {
    "r": 209,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 287.468,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67145,
    "c": 0.24197,
    "h": 318.6
  },
  "luminance": 0.26307
}

Semantic roles & 50–950 ramp

primary
#D154F2
secondary
#C1EDB5
accent
#E20332
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D154F2

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

Preview Lab → · Contrast checker → · Palette generator →

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