#C237B1#C237B1

#C237B1 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.217 H 333.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C237B1
RGBrgb(194, 55, 177)
HSLhsl(307, 56%, 49%)
HSVhsv(307, 72%, 76%)
CMYKcmyk(0%, 71.6%, 8.8%, 23.9%)
CIE-LABlab(48.73, 67.17, -35.44)
CIE-LCHlch(48.73, 75.95, 332.18°)
OKLaboklab(58.67% 0.1942 -0.0971)
OKLCHoklch(58.67% 0.217 333.4)
XYZxyz(31.5503, 17.3787, 43.2792)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237B1 #37C248
analogous
#8E37C2 #C237B1 #C2376C
triadic
#C237B1 #B1C237 #37B1C2
tetradic
#C237B1 #C28E37 #37C248 #376CC2
square
#C237B1 #C28E37 #37C248 #376CC2
split-complementary
#C237B1 #6CC237 #37C28E
monochromatic
#631C5A #922985 #C237B1 #D363C5 #E093D7

Accessibility & contrast

On white

4.69
#C237B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C237B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C237B1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237B1#FFFFFF#000000##FFFFFF
##C237B11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#CB4470
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c237b1;
/* rgb */ color: rgb(194, 55, 177);
/* oklch */ color: oklch(58.7% 0.217 333.4);
Tailwind
colors: {
  custom: {
    50: '#d87bc8',
    500: '#c237b1',
    950: '#000000',
  },
}
SCSS
$custom: #c237b1;
$custom-light: #d87bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c237b1",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 307.338,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.21717,
    "h": 333.4
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#C237B1
secondary
#89CB91
accent
#DF5B49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C237B1

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

Preview Lab → · Contrast checker → · Palette generator →

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