#C845B5#C845B5

#C845B5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.207 H 334.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C845B5
RGBrgb(200, 69, 181)
HSLhsl(309, 54%, 53%)
HSVhsv(309, 66%, 78%)
CMYKcmyk(0%, 65.5%, 9.5%, 21.6%)
CIE-LABlab(51.70, 64.15, -33.07)
CIE-LCHlch(51.70, 72.17, 332.73°)
OKLaboklab(61.06% 0.1858 -0.0903)
OKLCHoklch(61.06% 0.207 334.1)
XYZxyz(34.2883, 19.8746, 45.7374)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845B5 #45C858
analogous
#9945C8 #C845B5 #C84574
triadic
#C845B5 #B5C845 #45B5C8
tetradic
#C845B5 #C89945 #45C858 #4574C8
square
#C845B5 #C89945 #45C858 #4574C8
split-complementary
#C845B5 #74C845 #45C899
monochromatic
#712166 #A02F90 #C845B5 #D674C8 #E4A3DB

Accessibility & contrast

On white

4.22
#C845B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C845B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845B5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845B5#FFFFFF#000000##000000
##C845B51.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#6F82B2
Tritanopia (blue-blind)
#D14F77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c845b5;
/* rgb */ color: rgb(200, 69, 181);
/* oklch */ color: oklch(61.1% 0.207 334.1);
Tailwind
colors: {
  custom: {
    50: '#dc82cb',
    500: '#c845b5',
    950: '#000000',
  },
}
SCSS
$custom: #c845b5;
$custom-light: #dc82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c845b5",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 308.702,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.20662,
    "h": 334.1
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#C845B5
secondary
#98D1A0
accent
#DE5F4A
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C845B5

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

Preview Lab → · Contrast checker → · Palette generator →

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