#C548E8#C548E8

#C548E8 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.8% C 0.243 H 317.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C548E8
RGBrgb(197, 72, 232)
HSLhsl(287, 78%, 60%)
HSVhsv(287, 69%, 91%)
CMYKcmyk(15.1%, 69%, 0%, 9%)
CIE-LABlab(54.38, 71.05, -58.02)
CIE-LCHlch(54.38, 91.73, 320.76°)
OKLaboklab(63.78% 0.1804 -0.1628)
OKLCHoklch(63.78% 0.243 317.9)
XYZxyz(39.9068, 22.3330, 78.5369)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548E8 #6BE848
analogous
#7548E8 #C548E8 #E848BB
triadic
#C548E8 #E8C548 #48E8C5
tetradic
#C548E8 #E87548 #6BE848 #48BBE8
square
#C548E8 #E87548 #6BE848 #48BBE8
split-complementary
#C548E8 #BBE848 #48E875
monochromatic
#8214A1 #AE1BD8 #C548E8 #D67EEF #E7B5F6

Accessibility & contrast

On white

3.84
#C548E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C548E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548E8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548E8#FFFFFF#000000##000000
##C548E81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#C46793
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c548e8;
/* rgb */ color: rgb(197, 72, 232);
/* oklch */ color: oklch(63.8% 0.243 317.9);
Tailwind
colors: {
  custom: {
    50: '#db85f0',
    500: '#c548e8',
    950: '#000000',
  },
}
SCSS
$custom: #c548e8;
$custom-light: #db85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c548e8",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 286.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63784,
    "c": 0.24299,
    "h": 317.9
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#C548E8
secondary
#B4E5A7
accent
#F4345E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C548E8

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

Preview Lab → · Contrast checker → · Palette generator →

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