#D157E6#D157E6

#D157E6 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.228 H 321.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D157E6
RGBrgb(209, 87, 230)
HSLhsl(291, 74%, 62%)
HSVhsv(291, 62%, 90%)
CMYKcmyk(9.1%, 62.2%, 0%, 9.8%)
CIE-LABlab(58.12, 67.26, -50.83)
CIE-LCHlch(58.12, 84.31, 322.92°)
OKLaboklab(66.78% 0.1781 -0.1416)
OKLCHoklch(66.78% 0.228 321.5)
XYZxyz(43.9840, 26.0871, 77.5661)
Luminance0.2609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D157E6 #6CE657
analogous
#8A57E6 #D157E6 #E657B3
triadic
#D157E6 #E6D157 #57E6D1
tetradic
#D157E6 #E68A57 #6CE657 #57B3E6
square
#D157E6 #E68A57 #6CE657 #57B3E6
split-complementary
#D157E6 #B3E657 #57E68A
monochromatic
#9419A9 #C222DE #D157E6 #E08CEE #EEC2F6

Accessibility & contrast

On white

3.38
#D157E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D157E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D157E6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D157E6#FFFFFF#000000##000000
##D157E61.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EA
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#D36E97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d157e6;
/* rgb */ color: rgb(209, 87, 230);
/* oklch */ color: oklch(66.8% 0.228 321.5);
Tailwind
colors: {
  custom: {
    50: '#e28eee',
    500: '#d157e6',
    950: '#000000',
  },
}
SCSS
$custom: #d157e6;
$custom-light: #e28eee;
$custom-dark: #000000;
JSON
{
  "hex": "#d157e6",
  "rgb": {
    "r": 209,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 291.189,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.22751,
    "h": 321.5
  },
  "luminance": 0.26085
}

Semantic roles & 50–950 ramp

primary
#D157E6
secondary
#BAE7B2
accent
#D60F2C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D157E6

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

Preview Lab → · Contrast checker → · Palette generator →

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