#D151FD#D151FD

#D151FD is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.5% C 0.255 H 316.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D151FD
RGBrgb(209, 81, 253)
HSLhsl(285, 98%, 65%)
HSVhsv(285, 68%, 99%)
CMYKcmyk(17.4%, 68%, 0%, 0.8%)
CIE-LABlab(58.54, 73.99, -62.97)
CIE-LCHlch(58.54, 97.16, 319.60°)
OKLaboklab(67.5% 0.184 -0.177)
OKLCHoklch(67.5% 0.255 316.1)
XYZxyz(46.9638, 26.5338, 95.5571)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151FD #7DFD51
analogous
#7B51FD #D151FD #FD51D3
triadic
#D151FD #FDD151 #51FDD1
tetradic
#D151FD #FD7B51 #7DFD51 #51D3FD
square
#D151FD #FD7B51 #7DFD51 #51D3FD
split-complementary
#D151FD #D3FD51 #51FD7B
monochromatic
#9C02D1 #C114FC #D151FD #E18EFE #F1CAFE

Accessibility & contrast

On white

3.33
#D151FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D151FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151FD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151FD#FFFFFF#000000##000000
##D151FD1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#CE73A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d151fd;
/* rgb */ color: rgb(209, 81, 253);
/* oklch */ color: oklch(67.5% 0.255 316.1);
Tailwind
colors: {
  custom: {
    50: '#e38bff',
    500: '#d151fd',
    950: '#000000',
  },
}
SCSS
$custom: #d151fd;
$custom-light: #e38bff;
$custom-dark: #000000;
JSON
{
  "hex": "#d151fd",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 253
  },
  "hsl": {
    "h": 284.651,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67502,
    "c": 0.2553,
    "h": 316.1
  },
  "luminance": 0.26532
}

Semantic roles & 50–950 ramp

primary
#D151FD
secondary
#C7F2B8
accent
#E6003B
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D151FD

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

Preview Lab → · Contrast checker → · Palette generator →

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