#D54ECB#D54ECB

#D54ECB is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.219 H 330.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D54ECB
RGBrgb(213, 78, 203)
HSLhsl(304, 62%, 57%)
HSVhsv(304, 63%, 84%)
CMYKcmyk(0%, 63.4%, 4.7%, 16.5%)
CIE-LABlab(56.00, 67.29, -38.87)
CIE-LCHlch(56.00, 77.71, 329.99°)
OKLaboklab(64.92% 0.1913 -0.1068)
OKLCHoklch(64.92% 0.219 330.8)
XYZxyz(40.9443, 23.9097, 58.9469)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54ECB #4ED558
analogous
#9B4ED5 #D54ECB #D54E88
triadic
#D54ECB #CBD54E #4ECBD5
tetradic
#D54ECB #D59B4E #4ED558 #4E88D5
square
#D54ECB #D59B4E #4ED558 #4E88D5
split-complementary
#D54ECB #88D54E #4ED59B
monochromatic
#882081 #BA2CAF #D54ECB #E17FDA #ECB1E8

Accessibility & contrast

On white

3.63
#D54ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D54ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54ECB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54ECB#FFFFFF#000000##000000
##D54ECB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#DD5C86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d54ecb;
/* rgb */ color: rgb(213, 78, 203);
/* oklch */ color: oklch(64.9% 0.219 330.8);
Tailwind
colors: {
  custom: {
    50: '#e589db',
    500: '#d54ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d54ecb;
$custom-light: #e589db;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ecb",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 304.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.21911,
    "h": 330.8
  },
  "luminance": 0.23907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D54ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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