#C237B4#C237B4

#C237B4 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.219 H 332.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C237B4
RGBrgb(194, 55, 180)
HSLhsl(306, 56%, 49%)
HSVhsv(306, 72%, 76%)
CMYKcmyk(0%, 71.6%, 7.2%, 23.9%)
CIE-LABlab(48.88, 67.63, -36.97)
CIE-LCHlch(48.88, 77.07, 331.34°)
OKLaboklab(58.83% 0.1944 -0.1015)
OKLCHoklch(58.83% 0.219 332.4)
XYZxyz(31.8526, 17.4996, 44.8713)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237B4 #37C245
analogous
#8B37C2 #C237B4 #C2376F
triadic
#C237B4 #B4C237 #37B4C2
tetradic
#C237B4 #C28B37 #37C245 #376FC2
square
#C237B4 #C28B37 #37C245 #376FC2
split-complementary
#C237B4 #6FC237 #37C28B
monochromatic
#631C5C #922988 #C237B4 #D363C8 #E093D9

Accessibility & contrast

On white

4.67
#C237B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C237B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C237B4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237B4#FFFFFF#000000##FFFFFF
##C237B41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B7
Deuteranopia (green-blind)
#647BB1
Tritanopia (blue-blind)
#CA4672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c237b4;
/* rgb */ color: rgb(194, 55, 180);
/* oklch */ color: oklch(58.8% 0.219 332.4);
Tailwind
colors: {
  custom: {
    50: '#d87bcb',
    500: '#c237b4',
    950: '#000000',
  },
}
SCSS
$custom: #c237b4;
$custom-light: #d87bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c237b4",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 306.043,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.21933,
    "h": 332.4
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#C237B4
secondary
#89CB90
accent
#DF5849
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C237B4

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

Preview Lab → · Contrast checker → · Palette generator →

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