#C548B2#C548B2

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

Color values

HEX#C548B2
RGBrgb(197, 72, 178)
HSLhsl(309, 52%, 53%)
HSVhsv(309, 63%, 77%)
CMYKcmyk(0%, 63.5%, 9.6%, 22.7%)
CIE-LABlab(51.52, 61.72, -31.63)
CIE-LCHlch(51.52, 69.35, 332.87°)
OKLaboklab(60.8% 0.1788 -0.0863)
OKLCHoklch(60.8% 0.199 334.2)
XYZxyz(33.3794, 19.7220, 44.1595)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548B2 #48C55B
analogous
#9948C5 #C548B2 #C54873
triadic
#C548B2 #B2C548 #48B2C5
tetradic
#C548B2 #C59948 #48C55B #4873C5
square
#C548B2 #C59948 #48C55B #4873C5
split-complementary
#C548B2 #73C548 #48C599
monochromatic
#6F2364 #9E328D #C548B2 #D476C6 #E2A5D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C548B2#FFFFFF#000000##000000
##C548B21.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)
#466FB5
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#CE5176
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c548b2;
/* rgb */ color: rgb(197, 72, 178);
/* oklch */ color: oklch(60.8% 0.199 334.2);
Tailwind
colors: {
  custom: {
    50: '#da83c9',
    500: '#c548b2',
    950: '#000000',
  },
}
SCSS
$custom: #c548b2;
$custom-light: #da83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c548b2",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 309.12,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.19855,
    "h": 334.2
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C548B2

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

Preview Lab → · Contrast checker → · Palette generator →

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