#C645B2#C645B2

#C645B2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.203 H 334.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C645B2
RGBrgb(198, 69, 178)
HSLhsl(309, 53%, 52%)
HSVhsv(309, 65%, 78%)
CMYKcmyk(0%, 65.2%, 10.1%, 22.4%)
CIE-LABlab(51.24, 63.18, -32.05)
CIE-LCHlch(51.24, 70.85, 333.10°)
OKLaboklab(60.63% 0.1834 -0.0874)
OKLCHoklch(60.63% 0.203 334.5)
XYZxyz(33.4530, 19.4791, 44.1088)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C645B2 #45C659
analogous
#9945C6 #C645B2 #C64572
triadic
#C645B2 #B2C645 #45B2C6
tetradic
#C645B2 #C69945 #45C659 #4572C6
square
#C645B2 #C69945 #45C659 #4572C6
split-complementary
#C645B2 #72C645 #45C699
monochromatic
#6F2263 #9E308D #C645B2 #D474C5 #E3A3D9

Accessibility & contrast

On white

4.29
#C645B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C645B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C645B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C645B2#FFFFFF#000000##000000
##C645B21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#CF4E75
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c645b2;
/* rgb */ color: rgb(198, 69, 178);
/* oklch */ color: oklch(60.6% 0.203 334.5);
Tailwind
colors: {
  custom: {
    50: '#db82c9',
    500: '#c645b2',
    950: '#000000',
  },
}
SCSS
$custom: #c645b2;
$custom-light: #db82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c645b2",
  "rgb": {
    "r": 198,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 309.302,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.20319,
    "h": 334.5
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#C645B2
secondary
#97CFA0
accent
#DC624B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C645B2

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

Preview Lab → · Contrast checker → · Palette generator →

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