#D54BEC#D54BEC

#D54BEC is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.4% C 0.249 H 321.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D54BEC
RGBrgb(213, 75, 236)
HSLhsl(291, 81%, 61%)
HSVhsv(291, 68%, 93%)
CMYKcmyk(9.7%, 68.2%, 0%, 7.5%)
CIE-LABlab(57.31, 74.00, -55.45)
CIE-LCHlch(57.31, 92.47, 323.15°)
OKLaboklab(66.42% 0.1954 -0.1549)
OKLCHoklch(66.42% 0.249 321.6)
XYZxyz(45.0953, 25.2368, 81.8365)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54BEC #62EC4B
analogous
#844BEC #D54BEC #EC4BB2
triadic
#D54BEC #ECD54B #4BECD5
tetradic
#D54BEC #EC844B #62EC4B #4BB2EC
square
#D54BEC #EC844B #62EC4B #4BB2EC
split-complementary
#D54BEC #B2EC4B #4BEC84
monochromatic
#9512AB #C518E2 #D54BEC #E282F2 #EFBAF8

Accessibility & contrast

On white

3.47
#D54BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D54BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54BEC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54BEC#FFFFFF#000000##000000
##D54BEC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F1
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#D76896
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d54bec;
/* rgb */ color: rgb(213, 75, 236);
/* oklch */ color: oklch(66.4% 0.249 321.6);
Tailwind
colors: {
  custom: {
    50: '#e688f3',
    500: '#d54bec',
    950: '#000000',
  },
}
SCSS
$custom: #d54bec;
$custom-light: #e688f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d54bec",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 291.429,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66416,
    "c": 0.24937,
    "h": 321.6
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

primary
#D54BEC
secondary
#B4E8AB
accent
#DD0827
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D54BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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