#D158BF#D158BF

#D158BF is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.9% C 0.193 H 333.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#D158BF
RGBrgb(209, 88, 191)
HSLhsl(309, 57%, 58%)
HSVhsv(309, 58%, 82%)
CMYKcmyk(0%, 57.9%, 8.6%, 18%)
CIE-LABlab(56.39, 60.13, -31.43)
CIE-LCHlch(56.39, 67.85, 332.40°)
OKLaboklab(64.9% 0.1735 -0.0856)
OKLCHoklch(64.9% 0.193 333.7)
XYZxyz(39.1883, 24.2992, 51.9063)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D158BF #58D16A
analogous
#A758D1 #D158BF #D15882
triadic
#D158BF #BFD158 #58BFD1
tetradic
#D158BF #D1A758 #58D16A #5882D1
square
#D158BF #D1A758 #58D16A #5882D1
split-complementary
#D158BF #82D158 #58D1A7
monochromatic
#89267A #B933A5 #D158BF #DE88D1 #EBB8E4

Accessibility & contrast

On white

3.58
#D158BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#D158BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D158BF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D158BF#FFFFFF#000000##000000
##D158BF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#7B8EBC
Tritanopia (blue-blind)
#DA6083
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d158bf;
/* rgb */ color: rgb(209, 88, 191);
/* oklch */ color: oklch(64.9% 0.193 333.7);
Tailwind
colors: {
  custom: {
    50: '#e28dd2',
    500: '#d158bf',
    950: '#000000',
  },
}
SCSS
$custom: #d158bf;
$custom-light: #e28dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d158bf",
  "rgb": {
    "r": 209,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 308.926,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.19345,
    "h": 333.7
  },
  "luminance": 0.24296
}

Semantic roles & 50–950 ramp

primary
#D158BF
secondary
#AADAB1
accent
#E05E48
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D158BF

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

Preview Lab → · Contrast checker → · Palette generator →

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