#D151F9#D151F9

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

Color values

HEX#D151F9
RGBrgb(209, 81, 249)
HSLhsl(286, 93%, 65%)
HSVhsv(286, 67%, 98%)
CMYKcmyk(16.1%, 67.5%, 0%, 2.4%)
CIE-LABlab(58.30, 73.24, -61.13)
CIE-LCHlch(58.30, 95.40, 320.15°)
OKLaboklab(67.26% 0.1842 -0.1716)
OKLCHoklch(67.26% 0.252 317)
XYZxyz(46.3333, 26.2816, 92.2364)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151F9 #79F951
analogous
#7D51F9 #D151F9 #F951CD
triadic
#D151F9 #F9D151 #51F9D1
tetradic
#D151F9 #F97D51 #79F951 #51CDF9
square
#D151F9 #F97D51 #79F951 #51CDF9
split-complementary
#D151F9 #CDF951 #51F97D
monochromatic
#9B07C9 #C116F7 #D151F9 #E18CFB #F0C7FD

Accessibility & contrast

On white

3.36
#D151F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D151F9#FFFFFF#000000##000000
##D151F91.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#CF719F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d151f9;
/* rgb */ color: rgb(209, 81, 249);
/* oklch */ color: oklch(67.3% 0.252 317.0);
Tailwind
colors: {
  custom: {
    50: '#e38bfc',
    500: '#d151f9',
    950: '#000000',
  },
}
SCSS
$custom: #d151f9;
$custom-light: #e38bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d151f9",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 249
  },
  "hsl": {
    "h": 285.714,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67256,
    "c": 0.25179,
    "h": 317
  },
  "luminance": 0.2628
}

Semantic roles & 50–950 ramp

primary
#D151F9
secondary
#C4F0B6
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D151F9

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

Preview Lab → · Contrast checker → · Palette generator →

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