#C237BA#C237BA

#C237BA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.224 H 330.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C237BA
RGBrgb(194, 55, 186)
HSLhsl(303, 56%, 49%)
HSVhsv(303, 72%, 76%)
CMYKcmyk(0%, 71.6%, 4.1%, 23.9%)
CIE-LABlab(49.19, 68.56, -39.99)
CIE-LCHlch(49.19, 79.37, 329.75°)
OKLaboklab(59.15% 0.1947 -0.1102)
OKLCHoklch(59.15% 0.224 330.5)
XYZxyz(32.4771, 17.7494, 48.1603)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237BA #37C23F
analogous
#8537C2 #C237BA #C23775
triadic
#C237BA #BAC237 #37BAC2
tetradic
#C237BA #C28537 #37C23F #3775C2
square
#C237BA #C28537 #37C23F #3775C2
split-complementary
#C237BA #75C237 #37C285
monochromatic
#631C5F #92298C #C237BA #D363CC #E093DC

Accessibility & contrast

On white

4.62
#C237BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C237BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C237BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237BA#FFFFFF#000000##FFFFFF
##C237BA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#C94975
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c237ba;
/* rgb */ color: rgb(194, 55, 186);
/* oklch */ color: oklch(59.1% 0.224 330.5);
Tailwind
colors: {
  custom: {
    50: '#d87bcf',
    500: '#c237ba',
    950: '#000000',
  },
}
SCSS
$custom: #c237ba;
$custom-light: #d87bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#c237ba",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 303.453,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.22374,
    "h": 330.5
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#C237BA
secondary
#89CB8D
accent
#DF5149
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C237BA

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

Preview Lab → · Contrast checker → · Palette generator →

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