#D257E4#D257E4

#D257E4 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.226 H 322.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D257E4
RGBrgb(210, 87, 228)
HSLhsl(292, 72%, 62%)
HSVhsv(292, 62%, 89%)
CMYKcmyk(7.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(58.15, 67.13, -49.65)
CIE-LCHlch(58.15, 83.50, 323.52°)
OKLaboklab(66.8% 0.1792 -0.1381)
OKLCHoklch(66.8% 0.226 322.4)
XYZxyz(43.9887, 26.1218, 76.1087)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257E4 #69E457
analogous
#8B57E4 #D257E4 #E457B0
triadic
#D257E4 #E4D257 #57E4D2
tetradic
#D257E4 #E48B57 #69E457 #57B0E4
square
#D257E4 #E48B57 #69E457 #57B0E4
split-complementary
#D257E4 #B0E457 #57E48B
monochromatic
#941BA6 #C323DB #D257E4 #E08CEC #EEC0F5

Accessibility & contrast

On white

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

On black

6.22
#D257E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257E4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257E4#FFFFFF#000000##000000
##D257E41.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E8
Deuteranopia (green-blind)
#6991E0
Tritanopia (blue-blind)
#D56D96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d257e4;
/* rgb */ color: rgb(210, 87, 228);
/* oklch */ color: oklch(66.8% 0.226 322.4);
Tailwind
colors: {
  custom: {
    50: '#e38eed',
    500: '#d257e4',
    950: '#000000',
  },
}
SCSS
$custom: #d257e4;
$custom-light: #e38eed;
$custom-dark: #000000;
JSON
{
  "hex": "#d257e4",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 292.34,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.668,
    "c": 0.22623,
    "h": 322.4
  },
  "luminance": 0.26119
}

Semantic roles & 50–950 ramp

primary
#D257E4
secondary
#B8E6B1
accent
#D4112A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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