#C54BB2#C54BB2

#C54BB2 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.194 H 334.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C54BB2
RGBrgb(197, 75, 178)
HSLhsl(309, 51%, 53%)
HSVhsv(309, 62%, 77%)
CMYKcmyk(0%, 61.9%, 9.6%, 22.7%)
CIE-LABlab(51.97, 60.48, -30.92)
CIE-LCHlch(51.97, 67.93, 332.92°)
OKLaboklab(61.13% 0.1752 -0.0843)
OKLCHoklch(61.13% 0.194 334.3)
XYZxyz(33.5781, 20.1194, 44.2258)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BB2 #4BC55E
analogous
#9B4BC5 #C54BB2 #C54B75
triadic
#C54BB2 #B2C54B #4BB2C5
tetradic
#C54BB2 #C59B4B #4BC55E #4B75C5
square
#C54BB2 #C59B4B #4BC55E #4B75C5
split-complementary
#C54BB2 #75C54B #4BC59B
monochromatic
#712465 #9F338F #C54BB2 #D479C6 #E3A8DA

Accessibility & contrast

On white

4.18
#C54BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C54BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BB2#FFFFFF#000000##000000
##C54BB21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#7182AF
Tritanopia (blue-blind)
#CE5378
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54bb2;
/* rgb */ color: rgb(197, 75, 178);
/* oklch */ color: oklch(61.1% 0.194 334.3);
Tailwind
colors: {
  custom: {
    50: '#da85c9',
    500: '#c54bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c54bb2;
$custom-light: #da85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c54bb2",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 309.344,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.19441,
    "h": 334.3
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#C54BB2
secondary
#9CD0A4
accent
#DB634D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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