#C845D1#C845D1

#C845D1 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.5% C 0.228 H 325.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C845D1
RGBrgb(200, 69, 209)
HSLhsl(296, 60%, 55%)
HSVhsv(296, 67%, 82%)
CMYKcmyk(4.3%, 67%, 0%, 18%)
CIE-LABlab(53.10, 68.71, -47.00)
CIE-LCHlch(53.10, 83.25, 325.63°)
OKLaboklab(62.54% 0.1875 -0.1305)
OKLCHoklch(62.54% 0.228 325.2)
XYZxyz(37.4553, 21.1414, 62.4171)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845D1 #4ED145
analogous
#8245D1 #C845D1 #D14594
triadic
#C845D1 #D1C845 #45D1C8
tetradic
#C845D1 #D18245 #4ED145 #4594D1
square
#C845D1 #D18245 #4ED145 #4594D1
split-complementary
#C845D1 #94D145 #45D182
monochromatic
#771F7D #A52BAE #C845D1 #D776DD #E5A7E9

Accessibility & contrast

On white

4.02
#C845D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C845D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845D1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845D1#FFFFFF#000000##000000
##C845D11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2774D5
Deuteranopia (green-blind)
#6084CD
Tritanopia (blue-blind)
#CC5B86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c845d1;
/* rgb */ color: rgb(200, 69, 209);
/* oklch */ color: oklch(62.5% 0.228 325.2);
Tailwind
colors: {
  custom: {
    50: '#dc83e0',
    500: '#c845d1',
    950: '#000000',
  },
}
SCSS
$custom: #c845d1;
$custom-light: #dc83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c845d1",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 296.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.22848,
    "h": 325.2
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#C845D1
secondary
#9FD79B
accent
#E3444F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #C845D1

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

Preview Lab → · Contrast checker → · Palette generator →

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