#D957EB#D957EB

#D957EB is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.236 H 322.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#D957EB
RGBrgb(217, 87, 235)
HSLhsl(293, 79%, 63%)
HSVhsv(293, 63%, 92%)
CMYKcmyk(7.7%, 63%, 0%, 7.8%)
CIE-LABlab(59.50, 70.02, -51.37)
CIE-LCHlch(59.50, 86.84, 323.73°)
OKLaboklab(68.09% 0.1872 -0.143)
OKLCHoklch(68.09% 0.236 322.6)
XYZxyz(47.0174, 27.5688, 81.4259)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D957EB #69EB57
analogous
#8F57EB #D957EB #EB57B3
triadic
#D957EB #EBD957 #57EBD9
tetradic
#D957EB #EB8F57 #69EB57 #57B3EB
square
#D957EB #EB8F57 #69EB57 #57B3EB
split-complementary
#D957EB #B3EB57 #57EB8F
monochromatic
#9F15B2 #CD20E4 #D957EB #E58EF2 #F2C4F8

Accessibility & contrast

On white

3.22
#D957EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#D957EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D957EB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D957EB#FFFFFF#000000##000000
##D957EB1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#DC6E9A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d957eb;
/* rgb */ color: rgb(217, 87, 235);
/* oklch */ color: oklch(68.1% 0.236 322.6);
Tailwind
colors: {
  custom: {
    50: '#e88ff2',
    500: '#d957eb',
    950: '#000000',
  },
}
SCSS
$custom: #d957eb;
$custom-light: #e88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d957eb",
  "rgb": {
    "r": 217,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 292.703,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6809,
    "c": 0.23553,
    "h": 322.6
  },
  "luminance": 0.27566
}

Semantic roles & 50–950 ramp

primary
#D957EB
secondary
#BBE9B4
accent
#DB0A24
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D957EB

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

Preview Lab → · Contrast checker → · Palette generator →

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