#D54FCB#D54FCB

#D54FCB is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.218 H 330.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#D54FCB
RGBrgb(213, 79, 203)
HSLhsl(304, 61%, 57%)
HSVhsv(304, 63%, 84%)
CMYKcmyk(0%, 62.9%, 4.7%, 16.5%)
CIE-LABlab(56.14, 66.89, -38.64)
CIE-LCHlch(56.14, 77.25, 329.98°)
OKLaboklab(65.02% 0.1902 -0.1061)
OKLCHoklch(65.02% 0.218 330.8)
XYZxyz(41.0159, 24.0529, 58.9707)
Luminance0.2405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FCB #4FD559
analogous
#9C4FD5 #D54FCB #D54F88
triadic
#D54FCB #CBD54F #4FCBD5
tetradic
#D54FCB #D59C4F #4FD559 #4F88D5
square
#D54FCB #D59C4F #4FD559 #4F88D5
split-complementary
#D54FCB #88D54F #4FD59C
monochromatic
#892181 #BA2CB0 #D54FCB #E180DA #EDB2E8

Accessibility & contrast

On white

3.61
#D54FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#D54FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FCB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FCB#FFFFFF#000000##000000
##D54FCB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#DD5D86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d54fcb;
/* rgb */ color: rgb(213, 79, 203);
/* oklch */ color: oklch(65.0% 0.218 330.8);
Tailwind
colors: {
  custom: {
    50: '#e589db',
    500: '#d54fcb',
    950: '#000000',
  },
}
SCSS
$custom: #d54fcb;
$custom-light: #e589db;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fcb",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 304.478,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6502,
    "c": 0.21779,
    "h": 330.8
  },
  "luminance": 0.2405
}

Semantic roles & 50–950 ramp

primary
#D54FCB
secondary
#A5DBA9
accent
#E54F43
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D54FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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