#C237B8#C237B8

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

Color values

HEX#C237B8
RGBrgb(194, 55, 184)
HSLhsl(304, 56%, 49%)
HSVhsv(304, 72%, 76%)
CMYKcmyk(0%, 71.6%, 5.2%, 23.9%)
CIE-LABlab(49.09, 68.25, -38.98)
CIE-LCHlch(49.09, 78.60, 330.27°)
OKLaboklab(59.04% 0.1946 -0.1073)
OKLCHoklch(59.04% 0.222 331.1)
XYZxyz(32.2660, 17.6650, 47.0484)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237B8 #37C241
analogous
#8737C2 #C237B8 #C23773
triadic
#C237B8 #B8C237 #37B8C2
tetradic
#C237B8 #C28737 #37C241 #3773C2
square
#C237B8 #C28737 #37C241 #3773C2
split-complementary
#C237B8 #73C237 #37C287
monochromatic
#631C5E #92298B #C237B8 #D363CB #E093DB

Accessibility & contrast

On white

4.63
#C237B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C237B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C237B8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237B8#FFFFFF#000000##FFFFFF
##C237B81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BC
Deuteranopia (green-blind)
#627BB5
Tritanopia (blue-blind)
#CA4874
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c237b8;
/* rgb */ color: rgb(194, 55, 184);
/* oklch */ color: oklch(59.0% 0.222 331.1);
Tailwind
colors: {
  custom: {
    50: '#d87bce',
    500: '#c237b8',
    950: '#000000',
  },
}
SCSS
$custom: #c237b8;
$custom-light: #d87bce;
$custom-dark: #000000;
JSON
{
  "hex": "#c237b8",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 304.317,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59039,
    "c": 0.22226,
    "h": 331.1
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#C237B8
secondary
#89CB8E
accent
#DF5349
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C237B8

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

Preview Lab → · Contrast checker → · Palette generator →

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