#D257BF#D257BF

#D257BF is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.9% C 0.196 H 334.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#D257BF
RGBrgb(210, 87, 191)
HSLhsl(309, 58%, 58%)
HSVhsv(309, 59%, 82%)
CMYKcmyk(0%, 58.6%, 9%, 17.6%)
CIE-LABlab(56.37, 60.84, -31.45)
CIE-LCHlch(56.37, 68.49, 332.67°)
OKLaboklab(64.92% 0.1758 -0.0856)
OKLCHoklch(64.92% 0.196 334)
XYZxyz(39.3907, 24.2826, 51.8924)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D257BF #57D26A
analogous
#A757D2 #D257BF #D25781
triadic
#D257BF #BFD257 #57BFD2
tetradic
#D257BF #D2A757 #57D26A #5781D2
square
#D257BF #D2A757 #57D26A #5781D2
split-complementary
#D257BF #81D257 #57D2A7
monochromatic
#8A257A #BA32A5 #D257BF #DF87D1 #ECB8E4

Accessibility & contrast

On white

3.59
#D257BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#D257BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D257BF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D257BF#FFFFFF#000000##000000
##D257BF1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557CC2
Deuteranopia (green-blind)
#7C8EBC
Tritanopia (blue-blind)
#DB5F83
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d257bf;
/* rgb */ color: rgb(210, 87, 191);
/* oklch */ color: oklch(64.9% 0.196 334.0);
Tailwind
colors: {
  custom: {
    50: '#e38dd2',
    500: '#d257bf',
    950: '#000000',
  },
}
SCSS
$custom: #d257bf;
$custom-light: #e38dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d257bf",
  "rgb": {
    "r": 210,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 309.268,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.19556,
    "h": 334
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#D257BF
secondary
#AADBB1
accent
#E15F47
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D257BF

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

Preview Lab → · Contrast checker → · Palette generator →

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