#D257CA#D257CA

#D257CA is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.4% C 0.204 H 330.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D257CA
RGBrgb(210, 87, 202)
HSLhsl(304, 58%, 58%)
HSVhsv(304, 59%, 82%)
CMYKcmyk(0%, 58.6%, 3.8%, 17.6%)
CIE-LABlab(56.87, 62.63, -36.97)
CIE-LCHlch(56.87, 72.73, 329.45°)
OKLaboklab(65.44% 0.1773 -0.1014)
OKLCHoklch(65.44% 0.204 330.2)
XYZxyz(40.6469, 24.7851, 58.5088)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257CA #57D25F
analogous
#9C57D2 #D257CA #D2578D
triadic
#D257CA #CAD257 #57CAD2
tetradic
#D257CA #D29C57 #57D25F #578DD2
square
#D257CA #D29C57 #57D25F #578DD2
split-complementary
#D257CA #8DD257 #57D29C
monochromatic
#8A2583 #BA32B1 #D257CA #DF87D9 #ECB8E8

Accessibility & contrast

On white

3.53
#D257CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D257CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257CA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257CA#FFFFFF#000000##000000
##D257CA1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#778FC7
Tritanopia (blue-blind)
#D96389
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d257ca;
/* rgb */ color: rgb(210, 87, 202);
/* oklch */ color: oklch(65.4% 0.204 330.2);
Tailwind
colors: {
  custom: {
    50: '#e38dda',
    500: '#d257ca',
    950: '#000000',
  },
}
SCSS
$custom: #d257ca;
$custom-light: #e38dda;
$custom-dark: #000000;
JSON
{
  "hex": "#d257ca",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 303.902,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65445,
    "c": 0.20426,
    "h": 330.2
  },
  "luminance": 0.24782
}

Semantic roles & 50–950 ramp

primary
#D257CA
secondary
#AADBAD
accent
#E15147
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D257CA

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

Preview Lab → · Contrast checker → · Palette generator →

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