#C845BB#C845BB

#C845BB is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.211 H 332.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C845BB
RGBrgb(200, 69, 187)
HSLhsl(306, 54%, 53%)
HSVhsv(306, 66%, 78%)
CMYKcmyk(0%, 65.5%, 6.5%, 21.6%)
CIE-LABlab(51.98, 65.08, -36.11)
CIE-LCHlch(51.98, 74.43, 330.98°)
OKLaboklab(61.36% 0.1864 -0.099)
OKLCHoklch(61.36% 0.211 332)
XYZxyz(34.9172, 20.1261, 49.0498)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845BB #45C852
analogous
#9345C8 #C845BB #C8457A
triadic
#C845BB #BBC845 #45BBC8
tetradic
#C845BB #C89345 #45C852 #457AC8
square
#C845BB #C89345 #45C852 #457AC8
split-complementary
#C845BB #7AC845 #45C893
monochromatic
#712169 #A02F95 #C845BB #D674CC #E4A3DE

Accessibility & contrast

On white

4.18
#C845BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C845BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845BB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845BB#FFFFFF#000000##000000
##C845BB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#6C83B8
Tritanopia (blue-blind)
#D0527A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c845bb;
/* rgb */ color: rgb(200, 69, 187);
/* oklch */ color: oklch(61.4% 0.211 332.0);
Tailwind
colors: {
  custom: {
    50: '#dc82d0',
    500: '#c845bb',
    950: '#000000',
  },
}
SCSS
$custom: #c845bb;
$custom-light: #dc82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c845bb",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 305.954,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.21112,
    "h": 332
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#C845BB
secondary
#98D19E
accent
#DE594A
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C845BB

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

Preview Lab → · Contrast checker → · Palette generator →

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