#D157EA#D157EA

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

Color values

HEX#D157EA
RGBrgb(209, 87, 234)
HSLhsl(290, 78%, 63%)
HSVhsv(290, 63%, 92%)
CMYKcmyk(10.7%, 62.8%, 0%, 8.2%)
CIE-LABlab(58.33, 67.99, -52.73)
CIE-LCHlch(58.33, 86.04, 322.21°)
OKLaboklab(67.01% 0.1781 -0.1471)
OKLCHoklch(67.01% 0.231 320.4)
XYZxyz(44.5522, 26.3143, 80.5584)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D157EA #70EA57
analogous
#8757EA #D157EA #EA57B9
triadic
#D157EA #EAD157 #57EAD1
tetradic
#D157EA #EA8757 #70EA57 #57B9EA
square
#D157EA #EA8757 #70EA57 #57B9EA
split-complementary
#D157EA #B9EA57 #57EA87
monochromatic
#9616B1 #C221E3 #D157EA #E08DF1 #EFC4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D157EA#FFFFFF#000000##000000
##D157EA1.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)
#2F84EE
Deuteranopia (green-blind)
#6491E6
Tritanopia (blue-blind)
#D26F99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d157ea;
/* rgb */ color: rgb(209, 87, 234);
/* oklch */ color: oklch(67.0% 0.231 320.4);
Tailwind
colors: {
  custom: {
    50: '#e38ef1',
    500: '#d157ea',
    950: '#000000',
  },
}
SCSS
$custom: #d157ea;
$custom-light: #e38ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d157ea",
  "rgb": {
    "r": 209,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 289.796,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67006,
    "c": 0.23104,
    "h": 320.4
  },
  "luminance": 0.26312
}

Semantic roles & 50–950 ramp

primary
#D157EA
secondary
#BDE9B4
accent
#DA0B2F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D157EA

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

Preview Lab → · Contrast checker → · Palette generator →

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