#D151E6#D151E6

#D151E6 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.235 H 321.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D151E6
RGBrgb(209, 81, 230)
HSLhsl(292, 75%, 61%)
HSVhsv(292, 65%, 90%)
CMYKcmyk(9.1%, 64.8%, 0%, 9.8%)
CIE-LABlab(57.23, 69.74, -52.25)
CIE-LCHlch(57.23, 87.14, 323.16°)
OKLaboklab(66.14% 0.1848 -0.1457)
OKLCHoklch(66.14% 0.235 321.7)
XYZxyz(43.5183, 25.1556, 77.4108)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151E6 #66E651
analogous
#8651E6 #D151E6 #E651B0
triadic
#D151E6 #E6D151 #51E6D1
tetradic
#D151E6 #E68651 #66E651 #51B0E6
square
#D151E6 #E68651 #66E651 #51B0E6
split-complementary
#D151E6 #B0E651 #51E686
monochromatic
#9118A5 #C01FDA #D151E6 #DF87EE #EDBCF5

Accessibility & contrast

On white

3.48
#D151E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D151E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151E6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151E6#FFFFFF#000000##000000
##D151E61.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EA
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#D36A95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d151e6;
/* rgb */ color: rgb(209, 81, 230);
/* oklch */ color: oklch(66.1% 0.235 321.7);
Tailwind
colors: {
  custom: {
    50: '#e38bee',
    500: '#d151e6',
    950: '#000000',
  },
}
SCSS
$custom: #d151e6;
$custom-light: #e38bee;
$custom-dark: #000000;
JSON
{
  "hex": "#d151e6",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 291.544,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66137,
    "c": 0.23531,
    "h": 321.7
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#D151E6
secondary
#B5E5AD
accent
#D70E2B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D151E6

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

Preview Lab → · Contrast checker → · Palette generator →

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