#D152FD#D152FD

#D152FD is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.6% C 0.254 H 316.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D152FD
RGBrgb(209, 82, 253)
HSLhsl(285, 98%, 66%)
HSVhsv(285, 68%, 99%)
CMYKcmyk(17.4%, 67.6%, 0%, 0.8%)
CIE-LABlab(58.68, 73.60, -62.74)
CIE-LCHlch(58.68, 96.71, 319.55°)
OKLaboklab(67.6% 0.183 -0.1764)
OKLCHoklch(67.6% 0.254 316)
XYZxyz(47.0387, 26.6835, 95.5821)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D152FD #7EFD52
analogous
#7B52FD #D152FD #FD52D4
triadic
#D152FD #FDD152 #52FDD1
tetradic
#D152FD #FD7B52 #7EFD52 #52D4FD
square
#D152FD #FD7B52 #7EFD52 #52D4FD
split-complementary
#D152FD #D4FD52 #52FD7B
monochromatic
#9D02D2 #C115FC #D152FD #E18EFE #F1CBFE

Accessibility & contrast

On white

3.31
#D152FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D152FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D152FD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D152FD#FFFFFF#000000##000000
##D152FD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#CE74A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d152fd;
/* rgb */ color: rgb(209, 82, 253);
/* oklch */ color: oklch(67.6% 0.254 316.0);
Tailwind
colors: {
  custom: {
    50: '#e38cff',
    500: '#d152fd',
    950: '#000000',
  },
}
SCSS
$custom: #d152fd;
$custom-light: #e38cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d152fd",
  "rgb": {
    "r": 209,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 284.561,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.25412,
    "h": 316
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D152FD

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

Preview Lab → · Contrast checker → · Palette generator →

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