#C845C5#C845C5

#C845C5 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.9% C 0.219 H 328.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C845C5
RGBrgb(200, 69, 197)
HSLhsl(301, 54%, 53%)
HSVhsv(301, 66%, 78%)
CMYKcmyk(0%, 65.5%, 1.5%, 21.6%)
CIE-LABlab(52.48, 66.70, -41.11)
CIE-LCHlch(52.48, 78.35, 328.35°)
OKLaboklab(61.88% 0.1872 -0.1135)
OKLCHoklch(61.88% 0.219 328.8)
XYZxyz(36.0252, 20.5694, 54.8853)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845C5 #45C848
analogous
#8945C8 #C845C5 #C84583
triadic
#C845C5 #C5C845 #45C5C8
tetradic
#C845C5 #C88945 #45C848 #4583C8
square
#C845C5 #C88945 #45C848 #4583C8
split-complementary
#C845C5 #83C845 #45C889
monochromatic
#71216F #A02F9E #C845C5 #D674D4 #E4A3E2

Accessibility & contrast

On white

4.11
#C845C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C845C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845C5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845C5#FFFFFF#000000##000000
##C845C51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3572C9
Deuteranopia (green-blind)
#6783C2
Tritanopia (blue-blind)
#CF567F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c845c5;
/* rgb */ color: rgb(200, 69, 197);
/* oklch */ color: oklch(61.9% 0.219 328.8);
Tailwind
colors: {
  custom: {
    50: '#dc83d7',
    500: '#c845c5',
    950: '#000000',
  },
}
SCSS
$custom: #c845c5;
$custom-light: #dc83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c845c5",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 301.374,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.21886,
    "h": 328.8
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#C845C5
secondary
#98D199
accent
#DE4D4A
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C845C5

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

Preview Lab → · Contrast checker → · Palette generator →

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