#C545E1#C545E1

#C545E1 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.1% C 0.240 H 319.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C545E1
RGBrgb(197, 69, 225)
HSLhsl(289, 72%, 58%)
HSVhsv(289, 69%, 88%)
CMYKcmyk(12.4%, 69.3%, 0%, 11.8%)
CIE-LABlab(53.56, 70.89, -55.38)
CIE-LCHlch(53.56, 89.96, 322.00°)
OKLaboklab(63.07% 0.1838 -0.1551)
OKLCHoklch(63.07% 0.24 319.8)
XYZxyz(38.7430, 21.5647, 73.3412)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545E1 #61E145
analogous
#7745E1 #C545E1 #E145AF
triadic
#C545E1 #E1C545 #45E1C5
tetradic
#C545E1 #E17745 #61E145 #45AFE1
square
#C545E1 #E17745 #61E145 #45AFE1
split-complementary
#C545E1 #AFE145 #45E177
monochromatic
#7E1894 #AA20C8 #C545E1 #D57AE9 #E6AEF2

Accessibility & contrast

On white

3.95
#C545E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C545E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545E1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545E1#FFFFFF#000000##000000
##C545E11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#5284DD
Tritanopia (blue-blind)
#C6628F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c545e1;
/* rgb */ color: rgb(197, 69, 225);
/* oklch */ color: oklch(63.1% 0.240 319.8);
Tailwind
colors: {
  custom: {
    50: '#db83eb',
    500: '#c545e1',
    950: '#000000',
  },
}
SCSS
$custom: #c545e1;
$custom-light: #db83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c545e1",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 289.231,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63067,
    "c": 0.24047,
    "h": 319.8
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#C545E1
secondary
#ADE0A2
accent
#EF395A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C545E1

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

Preview Lab → · Contrast checker → · Palette generator →

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