#C845C7#C845C7

#C845C7 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.220 H 328.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C845C7
RGBrgb(200, 69, 199)
HSLhsl(300, 54%, 53%)
HSVhsv(300, 66%, 78%)
CMYKcmyk(0%, 65.5%, 0.5%, 21.6%)
CIE-LABlab(52.58, 67.03, -42.10)
CIE-LCHlch(52.58, 79.15, 327.87°)
OKLaboklab(61.99% 0.1873 -0.1163)
OKLCHoklch(61.99% 0.22 328.1)
XYZxyz(36.2559, 20.6616, 56.1002)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845C7 #45C846
analogous
#8745C8 #C845C7 #C84585
triadic
#C845C7 #C7C845 #45C7C8
tetradic
#C845C7 #C88745 #45C846 #4585C8
square
#C845C7 #C88745 #45C846 #4585C8
split-complementary
#C845C7 #85C845 #45C887
monochromatic
#712171 #A02FA0 #C845C7 #D674D5 #E4A3E3

Accessibility & contrast

On white

4.09
#C845C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C845C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845C7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845C7#FFFFFF#000000##000000
##C845C71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3372CB
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#CE5780
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c845c7;
/* rgb */ color: rgb(200, 69, 199);
/* oklch */ color: oklch(62.0% 0.220 328.1);
Tailwind
colors: {
  custom: {
    50: '#dc83d8',
    500: '#c845c7',
    950: '#000000',
  },
}
SCSS
$custom: #c845c7;
$custom-light: #dc83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c845c7",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 300.458,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.22044,
    "h": 328.1
  },
  "luminance": 0.20659
}

Semantic roles & 50–950 ramp

primary
#C845C7
secondary
#98D198
accent
#DE4B4A
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C845C7

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

Preview Lab → · Contrast checker → · Palette generator →

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