#C54DBE#C54DBE

#C54DBE is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.201 H 330.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C54DBE
RGBrgb(197, 77, 190)
HSLhsl(304, 51%, 54%)
HSVhsv(304, 61%, 77%)
CMYKcmyk(0%, 60.9%, 3.6%, 22.7%)
CIE-LABlab(52.84, 61.58, -36.53)
CIE-LCHlch(52.84, 71.60, 329.32°)
OKLaboklab(61.94% 0.1742 -0.1004)
OKLCHoklch(61.94% 0.201 330)
XYZxyz(34.9739, 20.8982, 50.8969)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DBE #4DC554
analogous
#904DC5 #C54DBE #C54D82
triadic
#C54DBE #BEC54D #4DBEC5
tetradic
#C54DBE #C5904D #4DC554 #4D82C5
square
#C54DBE #C5904D #4DC554 #4D82C5
split-complementary
#C54DBE #82C54D #4DC590
monochromatic
#72256E #A0349A #C54DBE #D47BCF #E3A9E0

Accessibility & contrast

On white

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

On black

5.18
#C54DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DBE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DBE#FFFFFF#000000##000000
##C54DBE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C1
Deuteranopia (green-blind)
#6D84BB
Tritanopia (blue-blind)
#CC5A7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54dbe;
/* rgb */ color: rgb(197, 77, 190);
/* oklch */ color: oklch(61.9% 0.201 330.0);
Tailwind
colors: {
  custom: {
    50: '#da86d2',
    500: '#c54dbe',
    950: '#000000',
  },
}
SCSS
$custom: #c54dbe;
$custom-light: #da86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dbe",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 303.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.20104,
    "h": 330
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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