#C837CA#C837CA

#C837CA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.239 H 327.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C837CA
RGBrgb(200, 55, 202)
HSLhsl(299, 58%, 50%)
HSVhsv(299, 73%, 79%)
CMYKcmyk(1%, 72.8%, 0%, 20.8%)
CIE-LABlab(51.01, 72.40, -46.31)
CIE-LCHlch(51.01, 85.95, 327.40°)
OKLaboklab(60.91% 0.2011 -0.1284)
OKLCHoklch(60.91% 0.239 327.4)
XYZxyz(35.8458, 19.2786, 57.6988)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837CA #39CA37
analogous
#7F37CA #C837CA #CA3782
triadic
#C837CA #CAC837 #37CAC8
tetradic
#C837CA #CA7F37 #39CA37 #3782CA
square
#C837CA #CA7F37 #39CA37 #3782CA
split-complementary
#C837CA #82CA37 #37CA7F
monochromatic
#691C6A #99299B #C837CA #D567D7 #E398E4

Accessibility & contrast

On white

4.33
#C837CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C837CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837CA#FFFFFF#000000##000000
##C837CA1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#146ECE
Deuteranopia (green-blind)
#5D80C6
Tritanopia (blue-blind)
#CE4F7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c837ca;
/* rgb */ color: rgb(200, 55, 202);
/* oklch */ color: oklch(60.9% 0.239 327.4);
Tailwind
colors: {
  custom: {
    50: '#dd7cdb',
    500: '#c837ca',
    950: '#000000',
  },
}
SCSS
$custom: #c837ca;
$custom-light: #dd7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c837ca",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 299.184,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.23862,
    "h": 327.4
  },
  "luminance": 0.19276
}

Semantic roles & 50–950 ramp

primary
#C837CA
secondary
#8FCF8E
accent
#E14649
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C837CA

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

Preview Lab → · Contrast checker → · Palette generator →

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