#C548B1#C548B1

#C548B1 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.8% C 0.198 H 334.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C548B1
RGBrgb(197, 72, 177)
HSLhsl(310, 52%, 53%)
HSVhsv(310, 63%, 77%)
CMYKcmyk(0%, 63.5%, 10.2%, 22.7%)
CIE-LABlab(51.48, 61.57, -31.11)
CIE-LCHlch(51.48, 68.98, 333.19°)
OKLaboklab(60.75% 0.1787 -0.0848)
OKLCHoklch(60.75% 0.198 334.6)
XYZxyz(33.2794, 19.6820, 43.6327)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548B1 #48C55C
analogous
#9A48C5 #C548B1 #C54872
triadic
#C548B1 #B1C548 #48B1C5
tetradic
#C548B1 #C59A48 #48C55C #4872C5
square
#C548B1 #C59A48 #48C55C #4872C5
split-complementary
#C548B1 #72C548 #48C59A
monochromatic
#6F2363 #9E328D #C548B1 #D476C5 #E2A5D9

Accessibility & contrast

On white

4.25
#C548B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C548B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548B1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548B1#FFFFFF#000000##000000
##C548B11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#476FB4
Deuteranopia (green-blind)
#7081AE
Tritanopia (blue-blind)
#CE5176
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c548b1;
/* rgb */ color: rgb(197, 72, 177);
/* oklch */ color: oklch(60.8% 0.198 334.6);
Tailwind
colors: {
  custom: {
    50: '#da83c8',
    500: '#c548b1',
    950: '#000000',
  },
}
SCSS
$custom: #c548b1;
$custom-light: #da83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c548b1",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 309.6,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6075,
    "c": 0.1978,
    "h": 334.6
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#C548B1
secondary
#99CFA2
accent
#DB634C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C548B1

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

Preview Lab → · Contrast checker → · Palette generator →

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