#C237AF#C237AF

#C237AF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.216 H 334.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C237AF
RGBrgb(194, 55, 175)
HSLhsl(308, 56%, 49%)
HSVhsv(308, 72%, 76%)
CMYKcmyk(0%, 71.6%, 9.8%, 23.9%)
CIE-LABlab(48.64, 66.87, -34.42)
CIE-LCHlch(48.64, 75.21, 332.76°)
OKLaboklab(58.57% 0.1941 -0.0942)
OKLCHoklch(58.57% 0.216 334.1)
XYZxyz(31.3525, 17.2995, 42.2370)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C237AF #37C24A
analogous
#9037C2 #C237AF #C2376A
triadic
#C237AF #AFC237 #37AFC2
tetradic
#C237AF #C29037 #37C24A #376AC2
square
#C237AF #C29037 #37C24A #376AC2
split-complementary
#C237AF #6AC237 #37C290
monochromatic
#631C59 #922984 #C237AF #D363C4 #E093D6

Accessibility & contrast

On white

4.71
#C237AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C237AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C237AF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C237AF#FFFFFF#000000##FFFFFF
##C237AF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B2
Deuteranopia (green-blind)
#667BAC
Tritanopia (blue-blind)
#CB436F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c237af;
/* rgb */ color: rgb(194, 55, 175);
/* oklch */ color: oklch(58.6% 0.216 334.1);
Tailwind
colors: {
  custom: {
    50: '#d87bc7',
    500: '#c237af',
    950: '#000000',
  },
}
SCSS
$custom: #c237af;
$custom-light: #d87bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c237af",
  "rgb": {
    "r": 194,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 308.201,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.21574,
    "h": 334.1
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#C237AF
secondary
#89CB92
accent
#DF5D49
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C237AF

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

Preview Lab → · Contrast checker → · Palette generator →

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