#D257E2#D257E2

#D257E2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.224 H 322.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#D257E2
RGBrgb(210, 87, 226)
HSLhsl(293, 71%, 61%)
HSVhsv(293, 62%, 89%)
CMYKcmyk(7.1%, 61.5%, 0%, 11.4%)
CIE-LABlab(58.05, 66.77, -48.69)
CIE-LCHlch(58.05, 82.64, 323.90°)
OKLaboklab(66.69% 0.1791 -0.1353)
OKLCHoklch(66.69% 0.224 322.9)
XYZxyz(43.7127, 26.0114, 74.6550)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257E2 #67E257
analogous
#8D57E2 #D257E2 #E257AC
triadic
#D257E2 #E2D257 #57E2D2
tetradic
#D257E2 #E28D57 #67E257 #57ACE2
square
#D257E2 #E28D57 #67E257 #57ACE2
split-complementary
#D257E2 #ACE257 #57E28D
monochromatic
#931CA3 #C225D7 #D257E2 #E08BEB #EEBFF4

Accessibility & contrast

On white

3.39
#D257E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#D257E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257E2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257E2#FFFFFF#000000##000000
##D257E21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E6
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#D56C95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d257e2;
/* rgb */ color: rgb(210, 87, 226);
/* oklch */ color: oklch(66.7% 0.224 322.9);
Tailwind
colors: {
  custom: {
    50: '#e38eeb',
    500: '#d257e2',
    950: '#000000',
  },
}
SCSS
$custom: #d257e2;
$custom-light: #e38eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d257e2",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 293.094,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6669,
    "c": 0.22449,
    "h": 322.9
  },
  "luminance": 0.26009
}

Semantic roles & 50–950 ramp

primary
#D257E2
secondary
#B6E4B0
accent
#D31329
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257E2

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

Preview Lab → · Contrast checker → · Palette generator →

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