#D158E7#D158E7

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

Color values

HEX#D158E7
RGBrgb(209, 88, 231)
HSLhsl(291, 75%, 63%)
HSVhsv(291, 62%, 91%)
CMYKcmyk(9.5%, 61.9%, 0%, 9.4%)
CIE-LABlab(58.33, 67.02, -51.06)
CIE-LCHlch(58.33, 84.25, 322.70°)
OKLaboklab(66.95% 0.177 -0.1423)
OKLCHoklch(66.95% 0.227 321.2)
XYZxyz(44.2064, 26.3065, 78.3349)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158E7 #6EE758
analogous
#8958E7 #D158E7 #E758B6
triadic
#D158E7 #E7D158 #58E7D1
tetradic
#D158E7 #E78958 #6EE758 #58B6E7
square
#D158E7 #E78958 #6EE758 #58B6E7
split-complementary
#D158E7 #B6E758 #58E789
monochromatic
#9519AC #C222DF #D158E7 #E08EEF #EEC3F6

Accessibility & contrast

On white

3.35
#D158E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D158E7#FFFFFF#000000##000000
##D158E71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EB
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#D36F98
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d158e7;
/* rgb */ color: rgb(209, 88, 231);
/* oklch */ color: oklch(66.9% 0.227 321.2);
Tailwind
colors: {
  custom: {
    50: '#e28eef',
    500: '#d158e7',
    950: '#000000',
  },
}
SCSS
$custom: #d158e7;
$custom-light: #e28eef;
$custom-dark: #000000;
JSON
{
  "hex": "#d158e7",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 290.769,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.22706,
    "h": 321.2
  },
  "luminance": 0.26304
}

Semantic roles & 50–950 ramp

primary
#D158E7
secondary
#BBE7B3
accent
#D70E2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D158E7

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

Preview Lab → · Contrast checker → · Palette generator →

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