#C237AB#C237AB

#C237AB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.213 H 335.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C237AB
RGBrgb(194, 55, 171)
HSLhsl(310, 56%, 49%)
HSVhsv(310, 72%, 76%)
CMYKcmyk(0%, 71.6%, 11.9%, 23.9%)
CIE-LABlab(48.44, 66.28, -32.37)
CIE-LCHlch(48.44, 73.76, 333.97°)
OKLaboklab(58.37% 0.1937 -0.0883)
OKLCHoklch(58.37% 0.213 335.5)
XYZxyz(30.9654, 17.1447, 40.1986)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237AB #37C24E
analogous
#9437C2 #C237AB #C23766
triadic
#C237AB #ABC237 #37ABC2
tetradic
#C237AB #C29437 #37C24E #3766C2
square
#C237AB #C29437 #37C24E #3766C2
split-complementary
#C237AB #66C237 #37C294
monochromatic
#631C57 #922981 #C237AB #D363C0 #E093D4

Accessibility & contrast

On white

4.74
#C237AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C237AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C237AB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237AB#FFFFFF#000000##FFFFFF
##C237AB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CC416D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c237ab;
/* rgb */ color: rgb(194, 55, 171);
/* oklch */ color: oklch(58.4% 0.213 335.5);
Tailwind
colors: {
  custom: {
    50: '#d87bc4',
    500: '#c237ab',
    950: '#000000',
  },
}
SCSS
$custom: #c237ab;
$custom-light: #d87bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c237ab",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 309.928,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.21291,
    "h": 335.5
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#C237AB
secondary
#89CB94
accent
#DF6249
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C237AB

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

Preview Lab → · Contrast checker → · Palette generator →

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