#C548BD#C548BD

#C548BD is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.207 H 330.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C548BD
RGBrgb(197, 72, 189)
HSLhsl(304, 52%, 53%)
HSVhsv(304, 63%, 77%)
CMYKcmyk(0%, 63.5%, 4.1%, 22.7%)
CIE-LABlab(52.04, 63.48, -37.20)
CIE-LCHlch(52.04, 73.58, 329.63°)
OKLaboklab(61.35% 0.18 -0.1023)
OKLCHoklch(61.35% 0.207 330.4)
XYZxyz(34.5284, 20.1817, 50.2111)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548BD #48C550
analogous
#8E48C5 #C548BD #C5487E
triadic
#C548BD #BDC548 #48BDC5
tetradic
#C548BD #C58E48 #48C550 #487EC5
square
#C548BD #C58E48 #48C550 #487EC5
split-complementary
#C548BD #7EC548 #48C58E
monochromatic
#6F236A #9E3297 #C548BD #D476CE #E2A5DF

Accessibility & contrast

On white

4.17
#C548BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C548BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548BD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548BD#FFFFFF#000000##000000
##C548BD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F71C0
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#CC557C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c548bd;
/* rgb */ color: rgb(197, 72, 189);
/* oklch */ color: oklch(61.3% 0.207 330.4);
Tailwind
colors: {
  custom: {
    50: '#da84d1',
    500: '#c548bd',
    950: '#000000',
  },
}
SCSS
$custom: #c548bd;
$custom-light: #da84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c548bd",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 303.84,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.20705,
    "h": 330.4
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#C548BD
secondary
#99CF9D
accent
#DB564C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C548BD

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

Preview Lab → · Contrast checker → · Palette generator →

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