#C645C2#C645C2

#C645C2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.215 H 329.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C645C2
RGBrgb(198, 69, 194)
HSLhsl(302, 53%, 52%)
HSVhsv(302, 65%, 78%)
CMYKcmyk(0%, 65.2%, 2%, 22.4%)
CIE-LABlab(52.02, 65.73, -40.12)
CIE-LCHlch(52.02, 77.01, 328.60°)
OKLaboklab(61.44% 0.1848 -0.1107)
OKLCHoklch(61.44% 0.215 329.1)
XYZxyz(35.1541, 20.1595, 53.0681)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645C2 #45C649
analogous
#8945C6 #C645C2 #C64582
triadic
#C645C2 #C2C645 #45C2C6
tetradic
#C645C2 #C68945 #45C649 #4582C6
square
#C645C2 #C68945 #45C649 #4582C6
split-complementary
#C645C2 #82C645 #45C689
monochromatic
#6F226C #9E309A #C645C2 #D474D1 #E3A3E1

Accessibility & contrast

On white

4.17
#C645C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C645C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645C2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645C2#FFFFFF#000000##000000
##C645C21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#6782BF
Tritanopia (blue-blind)
#CD557E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c645c2;
/* rgb */ color: rgb(198, 69, 194);
/* oklch */ color: oklch(61.4% 0.215 329.1);
Tailwind
colors: {
  custom: {
    50: '#db82d5',
    500: '#c645c2',
    950: '#000000',
  },
}
SCSS
$custom: #c645c2;
$custom-light: #db82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c645c2",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 301.86,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.21543,
    "h": 329.1
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#C645C2
secondary
#97CF99
accent
#DC504B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C645C2

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

Preview Lab → · Contrast checker → · Palette generator →

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