#C837B5#C837B5

#C837B5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.223 H 333.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C837B5
RGBrgb(200, 55, 181)
HSLhsl(308, 57%, 50%)
HSVhsv(308, 73%, 78%)
CMYKcmyk(0%, 72.5%, 9.5%, 21.6%)
CIE-LABlab(49.92, 69.15, -35.85)
CIE-LCHlch(49.92, 77.89, 332.59°)
OKLaboklab(59.78% 0.2005 -0.0982)
OKLCHoklch(59.78% 0.223 333.9)
XYZxyz(33.5264, 18.3508, 45.4834)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837B5 #37C84A
analogous
#9237C8 #C837B5 #C8376D
triadic
#C837B5 #B5C837 #37B5C8
tetradic
#C837B5 #C89237 #37C84A #376DC8
square
#C837B5 #C89237 #37C84A #376DC8
split-complementary
#C837B5 #6DC837 #37C892
monochromatic
#681D5E #982A8A #C837B5 #D567C7 #E297D9

Accessibility & contrast

On white

4.50
#C837B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C837B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C837B5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837B5#FFFFFF#000000##000000
##C837B51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#D14472
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c837b5;
/* rgb */ color: rgb(200, 55, 181);
/* oklch */ color: oklch(59.8% 0.223 333.9);
Tailwind
colors: {
  custom: {
    50: '#dd7ccb',
    500: '#c837b5',
    950: '#000000',
  },
}
SCSS
$custom: #c837b5;
$custom-light: #dd7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#c837b5",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 307.862,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.22327,
    "h": 333.9
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#C837B5
secondary
#8DCE95
accent
#E05C48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C837B5

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

Preview Lab → · Contrast checker → · Palette generator →

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