#C54CBE#C54CBE

#C54CBE is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.8% C 0.202 H 330.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C54CBE
RGBrgb(197, 76, 190)
HSLhsl(303, 51%, 54%)
HSVhsv(303, 61%, 77%)
CMYKcmyk(0%, 61.4%, 3.6%, 22.7%)
CIE-LABlab(52.69, 62.00, -36.77)
CIE-LCHlch(52.69, 72.08, 329.33°)
OKLaboklab(61.83% 0.1754 -0.1011)
OKLCHoklch(61.83% 0.202 330)
XYZxyz(34.9044, 20.7593, 50.8737)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CBE #4CC553
analogous
#8F4CC5 #C54CBE #C54C81
triadic
#C54CBE #BEC54C #4CBEC5
tetradic
#C54CBE #C58F4C #4CC553 #4C81C5
square
#C54CBE #C58F4C #4CC553 #4C81C5
split-complementary
#C54CBE #81C54C #4CC58F
monochromatic
#72256D #A0349A #C54CBE #D47ACF #E3A8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54CBE#FFFFFF#000000##000000
##C54CBE1.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)
#4373C1
Deuteranopia (green-blind)
#6C84BB
Tritanopia (blue-blind)
#CC597E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c54cbe;
/* rgb */ color: rgb(197, 76, 190);
/* oklch */ color: oklch(61.8% 0.202 330.0);
Tailwind
colors: {
  custom: {
    50: '#da86d2',
    500: '#c54cbe',
    950: '#000000',
  },
}
SCSS
$custom: #c54cbe;
$custom-light: #da86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54cbe",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 303.471,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.20243,
    "h": 330
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#C54CBE
secondary
#9CD09F
accent
#DB554D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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