#D54CDB#D54CDB

#D54CDB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.234 H 326.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D54CDB
RGBrgb(213, 76, 219)
HSLhsl(297, 67%, 58%)
HSVhsv(297, 65%, 86%)
CMYKcmyk(2.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(56.52, 70.69, -47.14)
CIE-LCHlch(56.52, 84.97, 326.30°)
OKLaboklab(65.55% 0.1945 -0.1307)
OKLCHoklch(65.55% 0.234 326.1)
XYZxyz(42.8103, 24.4322, 69.4651)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54CDB #52DB4C
analogous
#8E4CDB #D54CDB #DB4C99
triadic
#D54CDB #DBD54C #4CDBD5
tetradic
#D54CDB #DB8E4C #52DB4C #4C99DB
square
#D54CDB #DB8E4C #52DB4C #4C99DB
split-complementary
#D54CDB #99DB4C #4CDB8E
monochromatic
#8B1D90 #BC27C3 #D54CDB #E17FE5 #EDB2EF

Accessibility & contrast

On white

3.57
#D54CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#D54CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54CDB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54CDB#FFFFFF#000000##000000
##D54CDB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#6A8ED7
Tritanopia (blue-blind)
#DA618D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54cdb;
/* rgb */ color: rgb(213, 76, 219);
/* oklch */ color: oklch(65.6% 0.234 326.1);
Tailwind
colors: {
  custom: {
    50: '#e588e7',
    500: '#d54cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d54cdb;
$custom-light: #e588e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54cdb",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 297.483,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65552,
    "c": 0.23429,
    "h": 326.1
  },
  "luminance": 0.24429
}

Semantic roles & 50–950 ramp

primary
#D54CDB
secondary
#A7DEA5
accent
#E93E46
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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