#C548B7#C548B7

#C548B7 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.0% C 0.202 H 332.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C548B7
RGBrgb(197, 72, 183)
HSLhsl(307, 52%, 53%)
HSVhsv(307, 63%, 77%)
CMYKcmyk(0%, 63.5%, 7.1%, 22.7%)
CIE-LABlab(51.75, 62.51, -34.17)
CIE-LCHlch(51.75, 71.24, 331.34°)
OKLaboklab(61.04% 0.1794 -0.0936)
OKLCHoklch(61.04% 0.202 332.5)
XYZxyz(33.8906, 19.9265, 46.8518)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548B7 #48C556
analogous
#9448C5 #C548B7 #C54878
triadic
#C548B7 #B7C548 #48B7C5
tetradic
#C548B7 #C59448 #48C556 #4878C5
square
#C548B7 #C59448 #48C556 #4878C5
split-complementary
#C548B7 #78C548 #48C594
monochromatic
#6F2367 #9E3292 #C548B7 #D476C9 #E2A5DC

Accessibility & contrast

On white

4.21
#C548B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C548B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548B7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548B7#FFFFFF#000000##000000
##C548B71.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#CD5379
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c548b7;
/* rgb */ color: rgb(197, 72, 183);
/* oklch */ color: oklch(61.0% 0.202 332.5);
Tailwind
colors: {
  custom: {
    50: '#da83cd',
    500: '#c548b7',
    950: '#000000',
  },
}
SCSS
$custom: #c548b7;
$custom-light: #da83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c548b7",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 306.72,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.20236,
    "h": 332.5
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#C548B7
secondary
#99CF9F
accent
#DB5C4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C548B7

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

Preview Lab → · Contrast checker → · Palette generator →

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