#C845BD#C845BD

#C845BD is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.213 H 331.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C845BD
RGBrgb(200, 69, 189)
HSLhsl(305, 54%, 53%)
HSVhsv(305, 66%, 78%)
CMYKcmyk(0%, 65.5%, 5.5%, 21.6%)
CIE-LABlab(52.08, 65.40, -37.12)
CIE-LCHlch(52.08, 75.20, 330.42°)
OKLaboklab(61.46% 0.1866 -0.1019)
OKLCHoklch(61.46% 0.213 331.4)
XYZxyz(35.1328, 20.2124, 50.1852)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845BD #45C850
analogous
#9145C8 #C845BD #C8457C
triadic
#C845BD #BDC845 #45BDC8
tetradic
#C845BD #C89145 #45C850 #457CC8
square
#C845BD #C89145 #45C850 #457CC8
split-complementary
#C845BD #7CC845 #45C891
monochromatic
#71216A #A02F97 #C845BD #D674CE #E4A3DF

Accessibility & contrast

On white

4.17
#C845BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C845BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845BD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845BD#FFFFFF#000000##000000
##C845BD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D70C1
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#D0527B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c845bd;
/* rgb */ color: rgb(200, 69, 189);
/* oklch */ color: oklch(61.5% 0.213 331.4);
Tailwind
colors: {
  custom: {
    50: '#dc82d1',
    500: '#c845bd',
    950: '#000000',
  },
}
SCSS
$custom: #c845bd;
$custom-light: #dc82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c845bd",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 305.038,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61462,
    "c": 0.21264,
    "h": 331.4
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#C845BD
secondary
#98D19D
accent
#DE564A
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C845BD

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

Preview Lab → · Contrast checker → · Palette generator →

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