#C645E1#C645E1

#C645E1 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.2% C 0.241 H 320.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C645E1
RGBrgb(198, 69, 225)
HSLhsl(290, 72%, 58%)
HSVhsv(290, 69%, 88%)
CMYKcmyk(12%, 69.3%, 0%, 11.8%)
CIE-LABlab(53.71, 71.10, -55.14)
CIE-LCHlch(53.71, 89.98, 322.20°)
OKLaboklab(63.2% 0.1849 -0.1544)
OKLCHoklch(63.2% 0.241 320.1)
XYZxyz(39.0058, 21.7002, 73.3535)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645E1 #60E145
analogous
#7845E1 #C645E1 #E145AE
triadic
#C645E1 #E1C645 #45E1C6
tetradic
#C645E1 #E17845 #60E145 #45AEE1
square
#C645E1 #E17845 #60E145 #45AEE1
split-complementary
#C645E1 #AEE145 #45E178
monochromatic
#7E1894 #AB20C8 #C645E1 #D67AE9 #E6AEF2

Accessibility & contrast

On white

3.93
#C645E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C645E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645E1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645E1#FFFFFF#000000##000000
##C645E11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#5385DD
Tritanopia (blue-blind)
#C7628F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c645e1;
/* rgb */ color: rgb(198, 69, 225);
/* oklch */ color: oklch(63.2% 0.241 320.1);
Tailwind
colors: {
  custom: {
    50: '#db83eb',
    500: '#c645e1',
    950: '#000000',
  },
}
SCSS
$custom: #c645e1;
$custom-light: #db83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c645e1",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 289.615,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.632,
    "c": 0.24088,
    "h": 320.1
  },
  "luminance": 0.21698
}

Semantic roles & 50–950 ramp

primary
#C645E1
secondary
#ACE0A2
accent
#EF3958
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C645E1

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

Preview Lab → · Contrast checker → · Palette generator →

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