#C54BBB#C54BBB

#C54BBB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.201 H 331.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C54BBB
RGBrgb(197, 75, 187)
HSLhsl(305, 51%, 53%)
HSVhsv(305, 62%, 77%)
CMYKcmyk(0%, 61.9%, 5.1%, 22.7%)
CIE-LABlab(52.39, 61.92, -35.50)
CIE-LCHlch(52.39, 71.38, 330.18°)
OKLaboklab(61.57% 0.1763 -0.0974)
OKLCHoklch(61.57% 0.201 331.1)
XYZxyz(34.5116, 20.4928, 49.1419)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BBB #4BC555
analogous
#924BC5 #C54BBB #C54B7E
triadic
#C54BBB #BBC54B #4BBBC5
tetradic
#C54BBB #C5924B #4BC555 #4B7EC5
square
#C54BBB #C5924B #4BC555 #4B7EC5
split-complementary
#C54BBB #7EC54B #4BC592
monochromatic
#71246B #9F3397 #C54BBB #D479CC #E3A8DE

Accessibility & contrast

On white

4.12
#C54BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C54BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BBB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BBB#FFFFFF#000000##000000
##C54BBB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#CC577C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54bbb;
/* rgb */ color: rgb(197, 75, 187);
/* oklch */ color: oklch(61.6% 0.201 331.1);
Tailwind
colors: {
  custom: {
    50: '#da85d0',
    500: '#c54bbb',
    950: '#000000',
  },
}
SCSS
$custom: #c54bbb;
$custom-light: #da85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bbb",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 304.918,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.20141,
    "h": 331.1
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#C54BBB
secondary
#9CD0A0
accent
#DB594D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C54BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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