#C237B7#C237B7

#C237B7 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.222 H 331.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C237B7
RGBrgb(194, 55, 183)
HSLhsl(305, 56%, 49%)
HSVhsv(305, 72%, 76%)
CMYKcmyk(0%, 71.6%, 5.7%, 23.9%)
CIE-LABlab(49.04, 68.09, -38.48)
CIE-LCHlch(49.04, 78.21, 330.53°)
OKLaboklab(58.99% 0.1946 -0.1059)
OKLCHoklch(58.99% 0.222 331.4)
XYZxyz(32.1616, 17.6232, 46.4983)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237B7 #37C242
analogous
#8837C2 #C237B7 #C23772
triadic
#C237B7 #B7C237 #37B7C2
tetradic
#C237B7 #C28837 #37C242 #3772C2
square
#C237B7 #C28837 #37C242 #3772C2
split-complementary
#C237B7 #72C237 #37C288
monochromatic
#631C5D #92298A #C237B7 #D363CA #E093DA

Accessibility & contrast

On white

4.64
#C237B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C237B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C237B7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237B7#FFFFFF#000000##FFFFFF
##C237B71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BB
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#CA4773
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c237b7;
/* rgb */ color: rgb(194, 55, 183);
/* oklch */ color: oklch(59.0% 0.222 331.4);
Tailwind
colors: {
  custom: {
    50: '#d87bcd',
    500: '#c237b7',
    950: '#000000',
  },
}
SCSS
$custom: #c237b7;
$custom-light: #d87bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#c237b7",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 304.748,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.22152,
    "h": 331.4
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#C237B7
secondary
#89CB8F
accent
#DF5549
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C237B7

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

Preview Lab → · Contrast checker → · Palette generator →

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