#D254CB#D254CB

#D254CB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.2% C 0.209 H 329.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D254CB
RGBrgb(210, 84, 203)
HSLhsl(303, 58%, 58%)
HSVhsv(303, 60%, 82%)
CMYKcmyk(0%, 60%, 3.3%, 17.6%)
CIE-LABlab(56.44, 64.08, -38.20)
CIE-LCHlch(56.44, 74.60, 329.20°)
OKLaboklab(65.15% 0.1811 -0.105)
OKLCHoklch(65.15% 0.209 329.9)
XYZxyz(40.5278, 24.3569, 59.0551)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254CB #54D25B
analogous
#9A54D2 #D254CB #D2548C
triadic
#D254CB #CBD254 #54CBD2
tetradic
#D254CB #D29A54 #54D25B #548CD2
square
#D254CB #D29A54 #54D25B #548CD2
split-complementary
#D254CB #8CD254 #54D29A
monochromatic
#882482 #B831B1 #D254CB #DF84DA #EBB5E8

Accessibility & contrast

On white

3.58
#D254CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D254CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254CB#FFFFFF#000000##000000
##D254CB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#D96188
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d254cb;
/* rgb */ color: rgb(210, 84, 203);
/* oklch */ color: oklch(65.2% 0.209 329.9);
Tailwind
colors: {
  custom: {
    50: '#e38cdb',
    500: '#d254cb',
    950: '#000000',
  },
}
SCSS
$custom: #d254cb;
$custom-light: #e38cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d254cb",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 303.333,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65152,
    "c": 0.20931,
    "h": 329.9
  },
  "luminance": 0.24354
}

Semantic roles & 50–950 ramp

primary
#D254CB
secondary
#A8DAAA
accent
#E24F46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D254CB

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

Preview Lab → · Contrast checker → · Palette generator →

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