#C54DCB#C54DCB

#C54DCB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.212 H 325.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C54DCB
RGBrgb(197, 77, 203)
HSLhsl(297, 55%, 55%)
HSVhsv(297, 62%, 80%)
CMYKcmyk(3%, 62.1%, 0%, 20.4%)
CIE-LABlab(53.48, 63.79, -42.99)
CIE-LCHlch(53.48, 76.93, 326.02°)
OKLaboklab(62.62% 0.1752 -0.119)
OKLCHoklch(62.62% 0.212 325.8)
XYZxyz(36.4586, 21.4921, 58.7164)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DCB #53CB4D
analogous
#864DCB #C54DCB #CB4D92
triadic
#C54DCB #CBC54D #4DCBC5
tetradic
#C54DCB #CB864D #53CB4D #4D92CB
square
#C54DCB #CB864D #53CB4D #4D92CB
split-complementary
#C54DCB #92CB4D #4DCB86
monochromatic
#76247A #A431A9 #C54DCB #D47CD9 #E4ACE7

Accessibility & contrast

On white

3.96
#C54DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#C54DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DCB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DCB#FFFFFF#000000##000000
##C54DCB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#CA5F85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c54dcb;
/* rgb */ color: rgb(197, 77, 203);
/* oklch */ color: oklch(62.6% 0.212 325.8);
Tailwind
colors: {
  custom: {
    50: '#da87db',
    500: '#c54dcb',
    950: '#000000',
  },
}
SCSS
$custom: #c54dcb;
$custom-light: #da87db;
$custom-dark: #000000;
JSON
{
  "hex": "#c54dcb",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 297.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.2118,
    "h": 325.8
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#C54DCB
secondary
#A2D49F
accent
#DE4A51
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C54DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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