#D158FB#D158FB

#D158FB is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.1% C 0.245 H 316.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#D158FB
RGBrgb(209, 88, 251)
HSLhsl(285, 95%, 66%)
HSVhsv(285, 65%, 98%)
CMYKcmyk(16.7%, 64.9%, 0%, 1.6%)
CIE-LABlab(59.44, 70.78, -60.42)
CIE-LCHlch(59.44, 93.06, 319.51°)
OKLaboklab(68.11% 0.1768 -0.1696)
OKLCHoklch(68.11% 0.245 316.2)
XYZxyz(47.1941, 27.5016, 94.0704)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158FB #82FB58
analogous
#8058FB #D158FB #FB58D4
triadic
#D158FB #FBD158 #58FBD1
tetradic
#D158FB #FB8058 #82FB58 #58D4FB
square
#D158FB #FB8058 #82FB58 #58D4FB
split-complementary
#D158FB #D4FB58 #58FB80
monochromatic
#9E05D4 #C11CFA #D158FB #E194FC #F2D0FE

Accessibility & contrast

On white

3.23
#D158FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#D158FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158FB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158FB#FFFFFF#000000##000000
##D158FB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0788FF
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#CE77A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d158fb;
/* rgb */ color: rgb(209, 88, 251);
/* oklch */ color: oklch(68.1% 0.245 316.2);
Tailwind
colors: {
  custom: {
    50: '#e38ffd',
    500: '#d158fb',
    950: '#000000',
  },
}
SCSS
$custom: #d158fb;
$custom-light: #e38ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#d158fb",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 284.54,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.24499,
    "h": 316.2
  },
  "luminance": 0.275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D158FB

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

Preview Lab → · Contrast checker → · Palette generator →

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