#C845C1#C845C1

#C845C1 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.7% C 0.216 H 330.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C845C1
RGBrgb(200, 69, 193)
HSLhsl(303, 54%, 53%)
HSVhsv(303, 66%, 78%)
CMYKcmyk(0%, 65.5%, 3.5%, 21.6%)
CIE-LABlab(52.27, 66.04, -39.12)
CIE-LCHlch(52.27, 76.76, 329.36°)
OKLaboklab(61.67% 0.1869 -0.1077)
OKLCHoklch(61.67% 0.216 330)
XYZxyz(35.5730, 20.3885, 52.5035)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845C1 #45C84C
analogous
#8D45C8 #C845C1 #C8457F
triadic
#C845C1 #C1C845 #45C1C8
tetradic
#C845C1 #C88D45 #45C84C #457FC8
square
#C845C1 #C88D45 #45C84C #457FC8
split-complementary
#C845C1 #7FC845 #45C88D
monochromatic
#71216D #A02F9A #C845C1 #D674D1 #E4A3E0

Accessibility & contrast

On white

4.14
#C845C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C845C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845C1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845C1#FFFFFF#000000##000000
##C845C11.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C5
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#CF547D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c845c1;
/* rgb */ color: rgb(200, 69, 193);
/* oklch */ color: oklch(61.7% 0.216 330.0);
Tailwind
colors: {
  custom: {
    50: '#dc83d4',
    500: '#c845c1',
    950: '#000000',
  },
}
SCSS
$custom: #c845c1;
$custom-light: #dc83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c845c1",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 303.206,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61669,
    "c": 0.21573,
    "h": 330
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#C845C1
secondary
#98D19B
accent
#DE524A
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C845C1

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

Preview Lab → · Contrast checker → · Palette generator →

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