#D158D2#D158D2

#D158D2 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.8% C 0.209 H 327.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D158D2
RGBrgb(209, 88, 210)
HSLhsl(300, 58%, 58%)
HSVhsv(300, 58%, 82%)
CMYKcmyk(0.5%, 58.1%, 0%, 17.6%)
CIE-LABlab(57.26, 63.29, -40.91)
CIE-LCHlch(57.26, 75.36, 327.12°)
OKLaboklab(65.83% 0.1758 -0.1128)
OKLCHoklch(65.83% 0.209 327.3)
XYZxyz(41.4164, 25.1905, 63.6411)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158D2 #59D258
analogous
#9458D2 #D158D2 #D25896
triadic
#D158D2 #D2D158 #58D2D1
tetradic
#D158D2 #D29458 #59D258 #5896D2
square
#D158D2 #D29458 #59D258 #5896D2
split-complementary
#D158D2 #96D258 #58D294
monochromatic
#89258A #B932BB #D158D2 #DE88DF #ECB8EC

Accessibility & contrast

On white

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

On black

6.04
#D158D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158D2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158D2#FFFFFF#000000##000000
##D158D21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD6
Deuteranopia (green-blind)
#738FCF
Tritanopia (blue-blind)
#D7678D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d158d2;
/* rgb */ color: rgb(209, 88, 210);
/* oklch */ color: oklch(65.8% 0.209 327.3);
Tailwind
colors: {
  custom: {
    50: '#e28ee0',
    500: '#d158d2',
    950: '#000000',
  },
}
SCSS
$custom: #d158d2;
$custom-light: #e28ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#d158d2",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 299.508,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.20888,
    "h": 327.3
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#D158D2
secondary
#ABDBAB
accent
#E14748
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D158D2

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

Preview Lab → · Contrast checker → · Palette generator →

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