#D254BF#D254BF

#D254BF is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.6% C 0.200 H 334.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D254BF
RGBrgb(210, 84, 191)
HSLhsl(309, 58%, 58%)
HSVhsv(309, 60%, 82%)
CMYKcmyk(0%, 60%, 9%, 17.6%)
CIE-LABlab(55.89, 62.14, -32.19)
CIE-LCHlch(55.89, 69.98, 332.62°)
OKLaboklab(64.57% 0.1796 -0.0877)
OKLCHoklch(64.57% 0.2 334)
XYZxyz(39.1528, 23.8068, 51.8132)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254BF #54D267
analogous
#A654D2 #D254BF #D25480
triadic
#D254BF #BFD254 #54BFD2
tetradic
#D254BF #D2A654 #54D267 #5480D2
square
#D254BF #D2A654 #54D267 #5480D2
split-complementary
#D254BF #80D254 #54D2A6
monochromatic
#882479 #B831A4 #D254BF #DF84D1 #EBB5E3

Accessibility & contrast

On white

3.65
#D254BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D254BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254BF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254BF#FFFFFF#000000##000000
##D254BF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#7A8DBC
Tritanopia (blue-blind)
#DB5D82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d254bf;
/* rgb */ color: rgb(210, 84, 191);
/* oklch */ color: oklch(64.6% 0.200 334.0);
Tailwind
colors: {
  custom: {
    50: '#e38bd2',
    500: '#d254bf',
    950: '#000000',
  },
}
SCSS
$custom: #d254bf;
$custom-light: #e38bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d254bf",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 309.048,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64572,
    "c": 0.19989,
    "h": 334
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#D254BF
secondary
#A8DAAF
accent
#E25E46
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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