#D257DC#D257DC

#D257DC is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.219 H 324.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#D257DC
RGBrgb(210, 87, 220)
HSLhsl(295, 66%, 60%)
HSVhsv(295, 60%, 86%)
CMYKcmyk(4.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(57.74, 65.71, -45.80)
CIE-LCHlch(57.74, 80.09, 325.12°)
OKLaboklab(66.37% 0.1788 -0.1269)
OKLCHoklch(66.37% 0.219 324.6)
XYZxyz(42.9037, 25.6878, 70.3947)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257DC #61DC57
analogous
#9057DC #D257DC #DC57A3
triadic
#D257DC #DCD257 #57DCD2
tetradic
#D257DC #DC9057 #61DC57 #57A3DC
square
#D257DC #DC9057 #61DC57 #57A3DC
split-complementary
#D257DC #A3DC57 #57DC90
monochromatic
#902099 #BF2ACB #D257DC #E08AE7 #EDBCF1

Accessibility & contrast

On white

3.42
#D257DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#D257DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257DC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257DC#FFFFFF#000000##000000
##D257DC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#D66A92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d257dc;
/* rgb */ color: rgb(210, 87, 220);
/* oklch */ color: oklch(66.4% 0.219 324.6);
Tailwind
colors: {
  custom: {
    50: '#e38ee7',
    500: '#d257dc',
    950: '#000000',
  },
}
SCSS
$custom: #d257dc;
$custom-light: #e38ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#d257dc",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 295.489,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66366,
    "c": 0.21931,
    "h": 324.6
  },
  "luminance": 0.25685
}

Semantic roles & 50–950 ramp

primary
#D257DC
secondary
#B2E1AE
accent
#CD1826
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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