#C237B2#C237B2

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

Color values

HEX#C237B2
RGBrgb(194, 55, 178)
HSLhsl(307, 56%, 49%)
HSVhsv(307, 72%, 76%)
CMYKcmyk(0%, 71.6%, 8.2%, 23.9%)
CIE-LABlab(48.78, 67.33, -35.95)
CIE-LCHlch(48.78, 76.32, 331.90°)
OKLaboklab(58.72% 0.1943 -0.0986)
OKLCHoklch(58.72% 0.218 333.1)
XYZxyz(31.6504, 17.4187, 43.8060)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237B2 #37C247
analogous
#8D37C2 #C237B2 #C2376D
triadic
#C237B2 #B2C237 #37B2C2
tetradic
#C237B2 #C28D37 #37C247 #376DC2
square
#C237B2 #C28D37 #37C247 #376DC2
split-complementary
#C237B2 #6DC237 #37C28D
monochromatic
#631C5B #922986 #C237B2 #D363C6 #E093D7

Accessibility & contrast

On white

4.68
#C237B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C237B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237B2#FFFFFF#000000##FFFFFF
##C237B21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#CB4571
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c237b2;
/* rgb */ color: rgb(194, 55, 178);
/* oklch */ color: oklch(58.7% 0.218 333.1);
Tailwind
colors: {
  custom: {
    50: '#d87bc9',
    500: '#c237b2',
    950: '#000000',
  },
}
SCSS
$custom: #c237b2;
$custom-light: #d87bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c237b2",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 306.906,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.21788,
    "h": 333.1
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C237B2

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

Preview Lab → · Contrast checker → · Palette generator →

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