#D257E5#D257E5

#D257E5 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.227 H 322.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D257E5
RGBrgb(210, 87, 229)
HSLhsl(292, 73%, 62%)
HSVhsv(292, 62%, 90%)
CMYKcmyk(8.3%, 62%, 0%, 10.2%)
CIE-LABlab(58.21, 67.31, -50.12)
CIE-LCHlch(58.21, 83.93, 323.33°)
OKLaboklab(66.86% 0.1792 -0.1395)
OKLCHoklch(66.86% 0.227 322.1)
XYZxyz(44.1279, 26.1775, 76.8419)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257E5 #6AE557
analogous
#8B57E5 #D257E5 #E557B1
triadic
#D257E5 #E5D257 #57E5D2
tetradic
#D257E5 #E58B57 #6AE557 #57B1E5
square
#D257E5 #E58B57 #6AE557 #57B1E5
split-complementary
#D257E5 #B1E557 #57E58B
monochromatic
#951AA8 #C422DD #D257E5 #E08CED #EEC1F5

Accessibility & contrast

On white

3.37
#D257E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D257E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257E5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257E5#FFFFFF#000000##000000
##D257E51.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783E9
Deuteranopia (green-blind)
#6991E1
Tritanopia (blue-blind)
#D46D96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d257e5;
/* rgb */ color: rgb(210, 87, 229);
/* oklch */ color: oklch(66.9% 0.227 322.1);
Tailwind
colors: {
  custom: {
    50: '#e38eee',
    500: '#d257e5',
    950: '#000000',
  },
}
SCSS
$custom: #d257e5;
$custom-light: #e38eee;
$custom-dark: #000000;
JSON
{
  "hex": "#d257e5",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 291.972,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.22709,
    "h": 322.1
  },
  "luminance": 0.26175
}

Semantic roles & 50–950 ramp

primary
#D257E5
secondary
#B9E6B2
accent
#D5102B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257E5

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

Preview Lab → · Contrast checker → · Palette generator →

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