#C548F2#C548F2

#C548F2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.4% C 0.252 H 315.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C548F2
RGBrgb(197, 72, 242)
HSLhsl(284, 87%, 62%)
HSVhsv(284, 70%, 95%)
CMYKcmyk(18.6%, 70.2%, 0%, 5.1%)
CIE-LABlab(54.99, 72.94, -62.65)
CIE-LCHlch(54.99, 96.15, 319.34°)
OKLaboklab(64.41% 0.1796 -0.1764)
OKLCHoklch(64.41% 0.252 315.5)
XYZxyz(41.3678, 22.9174, 86.2316)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548F2 #75F248
analogous
#7048F2 #C548F2 #F248CA
triadic
#C548F2 #F2C548 #48F2C5
tetradic
#C548F2 #F27048 #75F248 #48CAF2
square
#C548F2 #F27048 #75F248 #48CAF2
split-complementary
#C548F2 #CAF248 #48F270
monochromatic
#870DB3 #B211EC #C548F2 #D781F6 #E9BAFA

Accessibility & contrast

On white

3.76
#C548F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C548F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548F2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548F2#FFFFFF#000000##000000
##C548F21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#4487EE
Tritanopia (blue-blind)
#C26B99
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c548f2;
/* rgb */ color: rgb(197, 72, 242);
/* oklch */ color: oklch(64.4% 0.252 315.5);
Tailwind
colors: {
  custom: {
    50: '#db85f7',
    500: '#c548f2',
    950: '#000000',
  },
}
SCSS
$custom: #c548f2;
$custom-light: #db85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c548f2",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 242
  },
  "hsl": {
    "h": 284.118,
    "s": 86.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.2517,
    "h": 315.5
  },
  "luminance": 0.22916
}

Semantic roles & 50–950 ramp

primary
#C548F2
secondary
#BCEBAB
accent
#E3023E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#150C17
muted
#847D85

Preview Lab

Preview with #C548F2

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

Preview Lab → · Contrast checker → · Palette generator →

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