#D257EC#D257EC

#D257EC is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.233 H 320.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D257EC
RGBrgb(210, 87, 236)
HSLhsl(290, 80%, 63%)
HSVhsv(290, 63%, 93%)
CMYKcmyk(11%, 63.1%, 0%, 7.5%)
CIE-LABlab(58.58, 68.59, -53.45)
CIE-LCHlch(58.58, 86.96, 322.08°)
OKLaboklab(67.25% 0.1793 -0.1492)
OKLCHoklch(67.25% 0.233 320.2)
XYZxyz(45.1250, 26.5763, 82.0934)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257EC #71EC57
analogous
#8757EC #D257EC #EC57BB
triadic
#D257EC #ECD257 #57ECD2
tetradic
#D257EC #EC8757 #71EC57 #57BBEC
square
#D257EC #EC8757 #71EC57 #57BBEC
split-complementary
#D257EC #BBEC57 #57EC87
monochromatic
#9814B4 #C320E6 #D257EC #E18EF2 #EFC5F8

Accessibility & contrast

On white

3.33
#D257EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D257EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257EC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257EC#FFFFFF#000000##000000
##D257EC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#D3709A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d257ec;
/* rgb */ color: rgb(210, 87, 236);
/* oklch */ color: oklch(67.2% 0.233 320.2);
Tailwind
colors: {
  custom: {
    50: '#e38ef3',
    500: '#d257ec',
    950: '#000000',
  },
}
SCSS
$custom: #d257ec;
$custom-light: #e38ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d257ec",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 289.53,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.23325,
    "h": 320.2
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#D257EC
secondary
#BEEAB5
accent
#DC0A2E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D257EC

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

Preview Lab → · Contrast checker → · Palette generator →

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