#C548E2#C548E2

#C548E2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.4% C 0.238 H 319.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C548E2
RGBrgb(197, 72, 226)
HSLhsl(289, 73%, 58%)
HSVhsv(289, 68%, 89%)
CMYKcmyk(12.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(54.02, 69.93, -55.21)
CIE-LCHlch(54.02, 89.10, 321.71°)
OKLaboklab(63.42% 0.1807 -0.1546)
OKLCHoklch(63.42% 0.238 319.5)
XYZxyz(39.0690, 21.9979, 74.1248)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548E2 #65E248
analogous
#7848E2 #C548E2 #E248B2
triadic
#C548E2 #E2C548 #48E2C5
tetradic
#C548E2 #E27848 #65E248 #48B2E2
square
#C548E2 #E27848 #65E248 #48B2E2
split-complementary
#C548E2 #B2E248 #48E278
monochromatic
#801898 #AC20CC #C548E2 #D67DEA #E6B2F3

Accessibility & contrast

On white

3.89
#C548E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#C548E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548E2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548E2#FFFFFF#000000##000000
##C548E21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#5385DE
Tritanopia (blue-blind)
#C56590
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c548e2;
/* rgb */ color: rgb(197, 72, 226);
/* oklch */ color: oklch(63.4% 0.238 319.5);
Tailwind
colors: {
  custom: {
    50: '#da85ec',
    500: '#c548e2',
    950: '#000000',
  },
}
SCSS
$custom: #c548e2;
$custom-light: #da85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c548e2",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 288.701,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63417,
    "c": 0.23781,
    "h": 319.5
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#C548E2
secondary
#B0E1A4
accent
#EF385B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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