#C54BB5#C54BB5

#C54BB5 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.3% C 0.197 H 333.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C54BB5
RGBrgb(197, 75, 181)
HSLhsl(308, 51%, 53%)
HSVhsv(308, 62%, 77%)
CMYKcmyk(0%, 61.9%, 8.1%, 22.7%)
CIE-LABlab(52.11, 60.95, -32.46)
CIE-LCHlch(52.11, 69.06, 331.97°)
OKLaboklab(61.27% 0.1756 -0.0887)
OKLCHoklch(61.27% 0.197 333.2)
XYZxyz(33.8826, 20.2412, 45.8295)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB5 #4BC55B
analogous
#984BC5 #C54BB5 #C54B78
triadic
#C54BB5 #B5C54B #4BB5C5
tetradic
#C54BB5 #C5984B #4BC55B #4B78C5
square
#C54BB5 #C5984B #4BC55B #4B78C5
split-complementary
#C54BB5 #78C54B #4BC598
monochromatic
#712467 #9F3391 #C54BB5 #D479C8 #E3A8DB

Accessibility & contrast

On white

4.16
#C54BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C54BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BB5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BB5#FFFFFF#000000##000000
##C54BB51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#6F83B2
Tritanopia (blue-blind)
#CD5579
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54bb5;
/* rgb */ color: rgb(197, 75, 181);
/* oklch */ color: oklch(61.3% 0.197 333.2);
Tailwind
colors: {
  custom: {
    50: '#da85cb',
    500: '#c54bb5',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb5;
$custom-light: #da85cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb5",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 307.869,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.19671,
    "h": 333.2
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#C54BB5
secondary
#9CD0A3
accent
#DB604D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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