#D54BE4#D54BE4

#D54BE4 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.0% C 0.243 H 323.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D54BE4
RGBrgb(213, 75, 228)
HSLhsl(294, 74%, 59%)
HSVhsv(294, 67%, 89%)
CMYKcmyk(6.6%, 67.1%, 0%, 10.6%)
CIE-LABlab(56.86, 72.61, -51.67)
CIE-LCHlch(56.86, 89.11, 324.56°)
OKLaboklab(65.96% 0.1956 -0.1439)
OKLCHoklch(65.96% 0.243 323.7)
XYZxyz(43.9590, 24.7823, 75.8518)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54BE4 #5AE44B
analogous
#894BE4 #D54BE4 #E44BA6
triadic
#D54BE4 #E4D54B #4BE4D5
tetradic
#D54BE4 #E4894B #5AE44B #4BA6E4
square
#D54BE4 #E4894B #5AE44B #4BA6E4
split-complementary
#D54BE4 #A6E44B #4BE489
monochromatic
#90189D #C120D2 #D54BE4 #E180EC #EEB5F4

Accessibility & contrast

On white

3.53
#D54BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D54BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54BE4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54BE4#FFFFFF#000000##000000
##D54BE41.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#237EE8
Deuteranopia (green-blind)
#648EE0
Tritanopia (blue-blind)
#D96492
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54be4;
/* rgb */ color: rgb(213, 75, 228);
/* oklch */ color: oklch(66.0% 0.243 323.7);
Tailwind
colors: {
  custom: {
    50: '#e688ed',
    500: '#d54be4',
    950: '#000000',
  },
}
SCSS
$custom: #d54be4;
$custom-light: #e688ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d54be4",
  "rgb": {
    "r": 213,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 294.118,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.2428,
    "h": 323.7
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#D54BE4
secondary
#ADE3A8
accent
#F13749
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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