#C843B2#C843B2

#C843B2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.207 H 335.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C843B2
RGBrgb(200, 67, 178)
HSLhsl(310, 55%, 52%)
HSVhsv(310, 67%, 78%)
CMYKcmyk(0%, 66.5%, 11%, 21.6%)
CIE-LABlab(51.28, 64.46, -31.97)
CIE-LCHlch(51.28, 71.95, 333.62°)
OKLaboklab(60.71% 0.1878 -0.0871)
OKLCHoklch(60.71% 0.207 335.1)
XYZxyz(33.8628, 19.5109, 44.0933)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C843B2 #43C859
analogous
#9C43C8 #C843B2 #C8436F
triadic
#C843B2 #B2C843 #43B2C8
tetradic
#C843B2 #C89C43 #43C859 #436FC8
square
#C843B2 #C89C43 #43C859 #436FC8
split-complementary
#C843B2 #6FC843 #43C89C
monochromatic
#702163 #9F2F8D #C843B2 #D672C5 #E4A2D9

Accessibility & contrast

On white

4.28
#C843B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C843B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C843B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C843B2#FFFFFF#000000##000000
##C843B21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#D24C75
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c843b2;
/* rgb */ color: rgb(200, 67, 178);
/* oklch */ color: oklch(60.7% 0.207 335.1);
Tailwind
colors: {
  custom: {
    50: '#dc81c9',
    500: '#c843b2',
    950: '#000000',
  },
}
SCSS
$custom: #c843b2;
$custom-light: #dc81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c843b2",
  "rgb": {
    "r": 200,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 309.925,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.20699,
    "h": 335.1
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#C843B2
secondary
#96D0A0
accent
#DE624A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C843B2

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

Preview Lab → · Contrast checker → · Palette generator →

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