#C54DBF#C54DBF

#C54DBF is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.202 H 329.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C54DBF
RGBrgb(197, 77, 191)
HSLhsl(303, 51%, 54%)
HSVhsv(303, 61%, 77%)
CMYKcmyk(0%, 60.9%, 3%, 22.7%)
CIE-LABlab(52.89, 61.74, -37.03)
CIE-LCHlch(52.89, 72.00, 329.05°)
OKLaboklab(61.99% 0.1743 -0.1018)
OKLCHoklch(61.99% 0.202 329.7)
XYZxyz(35.0835, 20.9421, 51.4745)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DBF #4DC553
analogous
#8F4DC5 #C54DBF #C54D83
triadic
#C54DBF #BFC54D #4DBFC5
tetradic
#C54DBF #C58F4D #4DC553 #4D83C5
square
#C54DBF #C58F4D #4DC553 #4D83C5
split-complementary
#C54DBF #83C54D #4DC58F
monochromatic
#72256E #A0349B #C54DBF #D47BD0 #E3A9E0

Accessibility & contrast

On white

4.05
#C54DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C54DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DBF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DBF#FFFFFF#000000##000000
##C54DBF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#CC5A7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54dbf;
/* rgb */ color: rgb(197, 77, 191);
/* oklch */ color: oklch(62.0% 0.202 329.7);
Tailwind
colors: {
  custom: {
    50: '#da86d2',
    500: '#c54dbf',
    950: '#000000',
  },
}
SCSS
$custom: #c54dbf;
$custom-light: #da86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dbf",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 303,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.20185,
    "h": 329.7
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#C54DBF
secondary
#9DD1A0
accent
#DA554D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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