#C845BF#C845BF

#C845BF is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.214 H 330.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C845BF
RGBrgb(200, 69, 191)
HSLhsl(304, 54%, 53%)
HSVhsv(304, 66%, 78%)
CMYKcmyk(0%, 65.5%, 4.5%, 21.6%)
CIE-LABlab(52.17, 65.72, -38.12)
CIE-LCHlch(52.17, 75.98, 329.88°)
OKLaboklab(61.57% 0.1868 -0.1048)
OKLCHoklch(61.57% 0.214 330.7)
XYZxyz(35.3514, 20.2998, 51.3364)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845BF #45C84E
analogous
#8F45C8 #C845BF #C8457E
triadic
#C845BF #BFC845 #45BFC8
tetradic
#C845BF #C88F45 #45C84E #457EC8
square
#C845BF #C88F45 #45C84E #457EC8
split-complementary
#C845BF #7EC845 #45C88F
monochromatic
#71216C #A02F99 #C845BF #D674CF #E4A3E0

Accessibility & contrast

On white

4.15
#C845BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C845BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845BF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845BF#FFFFFF#000000##000000
##C845BF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#D0537C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c845bf;
/* rgb */ color: rgb(200, 69, 191);
/* oklch */ color: oklch(61.6% 0.214 330.7);
Tailwind
colors: {
  custom: {
    50: '#dc82d3',
    500: '#c845bf',
    950: '#000000',
  },
}
SCSS
$custom: #c845bf;
$custom-light: #dc82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c845bf",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 304.122,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.21418,
    "h": 330.7
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#C845BF
secondary
#98D19C
accent
#DE544A
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C845BF

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

Preview Lab → · Contrast checker → · Palette generator →

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