#D257CB#D257CB

#D257CB is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.5% C 0.205 H 329.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D257CB
RGBrgb(210, 87, 203)
HSLhsl(303, 58%, 58%)
HSVhsv(303, 59%, 82%)
CMYKcmyk(0%, 58.6%, 3.3%, 17.6%)
CIE-LABlab(56.91, 62.79, -37.47)
CIE-LCHlch(56.91, 73.12, 329.18°)
OKLaboklab(65.49% 0.1774 -0.1029)
OKLCHoklch(65.49% 0.205 329.9)
XYZxyz(40.7657, 24.8326, 59.1344)
Luminance0.2483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257CB #57D25E
analogous
#9B57D2 #D257CB #D2578D
triadic
#D257CB #CBD257 #57CBD2
tetradic
#D257CB #D29B57 #57D25E #578DD2
square
#D257CB #D29B57 #57D25E #578DD2
split-complementary
#D257CB #8DD257 #57D29B
monochromatic
#8A2584 #BA32B2 #D257CB #DF87DA #ECB8E9

Accessibility & contrast

On white

3.52
#D257CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D257CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257CB#FFFFFF#000000##000000
##D257CB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#768FC8
Tritanopia (blue-blind)
#D96489
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d257cb;
/* rgb */ color: rgb(210, 87, 203);
/* oklch */ color: oklch(65.5% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#e38ddb',
    500: '#d257cb',
    950: '#000000',
  },
}
SCSS
$custom: #d257cb;
$custom-light: #e38ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d257cb",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 303.415,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.20508,
    "h": 329.9
  },
  "luminance": 0.2483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D257CB

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

Preview Lab → · Contrast checker → · Palette generator →

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