#D157EB#D157EB

#D157EB is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.232 H 320.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D157EB
RGBrgb(209, 87, 235)
HSLhsl(289, 79%, 63%)
HSVhsv(289, 63%, 92%)
CMYKcmyk(11.1%, 63%, 0%, 7.8%)
CIE-LABlab(58.39, 68.18, -53.20)
CIE-LCHlch(58.39, 86.48, 322.04°)
OKLaboklab(67.06% 0.1782 -0.1485)
OKLCHoklch(67.06% 0.232 320.2)
XYZxyz(44.6963, 26.3720, 81.3171)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D157EB #71EB57
analogous
#8757EB #D157EB #EB57BB
triadic
#D157EB #EBD157 #57EBD1
tetradic
#D157EB #EB8757 #71EB57 #57BBEB
square
#D157EB #EB8757 #71EB57 #57BBEB
split-complementary
#D157EB #BBEB57 #57EB87
monochromatic
#9715B2 #C220E4 #D157EB #E08EF2 #EFC4F8

Accessibility & contrast

On white

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

On black

6.27
#D157EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D157EB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D157EB#FFFFFF#000000##000000
##D157EB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#D2709A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d157eb;
/* rgb */ color: rgb(209, 87, 235);
/* oklch */ color: oklch(67.1% 0.232 320.2);
Tailwind
colors: {
  custom: {
    50: '#e38ef2',
    500: '#d157eb',
    950: '#000000',
  },
}
SCSS
$custom: #d157eb;
$custom-light: #e38ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d157eb",
  "rgb": {
    "r": 209,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 289.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67063,
    "c": 0.23193,
    "h": 320.2
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

primary
#D157EB
secondary
#BEE9B4
accent
#DB0A2F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D157EB

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

Preview Lab → · Contrast checker → · Palette generator →

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