#C54DBB#C54DBB

#C54DBB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.8% C 0.199 H 331.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C54DBB
RGBrgb(197, 77, 187)
HSLhsl(305, 51%, 54%)
HSVhsv(305, 61%, 77%)
CMYKcmyk(0%, 60.9%, 5.1%, 22.7%)
CIE-LABlab(52.70, 61.08, -35.02)
CIE-LCHlch(52.70, 70.41, 330.17°)
OKLaboklab(61.79% 0.1739 -0.096)
OKLCHoklch(61.79% 0.199 331.1)
XYZxyz(34.6493, 20.7684, 49.1878)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DBB #4DC557
analogous
#934DC5 #C54DBB #C54D7F
triadic
#C54DBB #BBC54D #4DBBC5
tetradic
#C54DBB #C5934D #4DC557 #4D7FC5
square
#C54DBB #C5934D #4DC557 #4D7FC5
split-complementary
#C54DBB #7FC54D #4DC593
monochromatic
#72256C #A03497 #C54DBB #D47BCD #E3A9DE

Accessibility & contrast

On white

4.08
#C54DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C54DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DBB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DBB#FFFFFF#000000##000000
##C54DBB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#CC587D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54dbb;
/* rgb */ color: rgb(197, 77, 187);
/* oklch */ color: oklch(61.8% 0.199 331.1);
Tailwind
colors: {
  custom: {
    50: '#da86d0',
    500: '#c54dbb',
    950: '#000000',
  },
}
SCSS
$custom: #c54dbb;
$custom-light: #da86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dbb",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 305,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61791,
    "c": 0.19862,
    "h": 331.1
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#C54DBB
secondary
#9DD1A2
accent
#DA594D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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