#D54FDB#D54FDB

#D54FDB is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.231 H 326.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D54FDB
RGBrgb(213, 79, 219)
HSLhsl(297, 66%, 58%)
HSVhsv(297, 64%, 86%)
CMYKcmyk(2.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(56.93, 69.53, -46.48)
CIE-LCHlch(56.93, 83.64, 326.24°)
OKLaboklab(65.85% 0.1912 -0.1288)
OKLCHoklch(65.85% 0.231 326)
XYZxyz(43.0219, 24.8553, 69.5356)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FDB #55DB4F
analogous
#8F4FDB #D54FDB #DB4F9B
triadic
#D54FDB #DBD54F #4FDBD5
tetradic
#D54FDB #DB8F4F #55DB4F #4F9BDB
square
#D54FDB #DB8F4F #55DB4F #4F9BDB
split-complementary
#D54FDB #9BDB4F #4FDB8F
monochromatic
#8D1E92 #BE28C5 #D54FDB #E182E5 #EDB5F0

Accessibility & contrast

On white

3.52
#D54FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D54FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FDB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FDB#FFFFFF#000000##000000
##D54FDB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#6C8ED7
Tritanopia (blue-blind)
#DA638E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d54fdb;
/* rgb */ color: rgb(213, 79, 219);
/* oklch */ color: oklch(65.9% 0.231 326.0);
Tailwind
colors: {
  custom: {
    50: '#e58ae7',
    500: '#d54fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d54fdb;
$custom-light: #e58ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fdb",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 297.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65853,
    "c": 0.23054,
    "h": 326
  },
  "luminance": 0.24853
}

Semantic roles & 50–950 ramp

primary
#D54FDB
secondary
#A9DFA7
accent
#E93F46
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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