#D158FD#D158FD

#D158FD is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.2% C 0.247 H 315.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#D158FD
RGBrgb(209, 88, 253)
HSLhsl(284, 98%, 67%)
HSVhsv(284, 65%, 99%)
CMYKcmyk(17.4%, 65.2%, 0%, 0.8%)
CIE-LABlab(59.55, 71.16, -61.34)
CIE-LCHlch(59.55, 93.95, 319.24°)
OKLaboklab(68.23% 0.1767 -0.1723)
OKLCHoklch(68.23% 0.247 315.7)
XYZxyz(47.5111, 27.6283, 95.7396)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158FD #84FD58
analogous
#7F58FD #D158FD #FD58D7
triadic
#D158FD #FDD158 #58FDD1
tetradic
#D158FD #FD7F58 #84FD58 #58D7FD
square
#D158FD #FD7F58 #84FD58 #58D7FD
split-complementary
#D158FD #D7FD58 #58FD7F
monochromatic
#9F03D8 #C01CFC #D158FD #E294FE #F2D1FE

Accessibility & contrast

On white

3.22
#D158FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#D158FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158FD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158FD#FFFFFF#000000##000000
##D158FD1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#CE77A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d158fd;
/* rgb */ color: rgb(209, 88, 253);
/* oklch */ color: oklch(68.2% 0.247 315.7);
Tailwind
colors: {
  custom: {
    50: '#e38fff',
    500: '#d158fd',
    950: '#000000',
  },
}
SCSS
$custom: #d158fd;
$custom-light: #e38fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d158fd",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 284,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.24681,
    "h": 315.7
  },
  "luminance": 0.27627
}

Semantic roles & 50–950 ramp

primary
#D158FD
secondary
#CCF3BE
accent
#E6003D
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D158FD

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

Preview Lab → · Contrast checker → · Palette generator →

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