#C238AC#C238AC

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

Color values

HEX#C238AC
RGBrgb(194, 56, 172)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 76%)
CMYKcmyk(0%, 71.1%, 11.3%, 23.9%)
CIE-LABlab(48.61, 66.09, -32.70)
CIE-LCHlch(48.61, 73.73, 333.68°)
OKLaboklab(58.5% 0.1928 -0.0893)
OKLCHoklch(58.5% 0.212 335.2)
XYZxyz(31.1091, 17.2790, 40.7185)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238AC #38C24E
analogous
#9338C2 #C238AC #C23867
triadic
#C238AC #ACC238 #38ACC2
tetradic
#C238AC #C29338 #38C24E #3867C2
square
#C238AC #C29338 #38C24E #3867C2
split-complementary
#C238AC #67C238 #38C293
monochromatic
#631D58 #932A82 #C238AC #D265C1 #E094D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C238AC#FFFFFF#000000##FFFFFF
##C238AC1.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)
#3866AF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#CC436E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c238ac;
/* rgb */ color: rgb(194, 56, 172);
/* oklch */ color: oklch(58.5% 0.212 335.2);
Tailwind
colors: {
  custom: {
    50: '#d87bc5',
    500: '#c238ac',
    950: '#000000',
  },
}
SCSS
$custom: #c238ac;
$custom-light: #d87bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c238ac",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 309.565,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.21248,
    "h": 335.2
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#C238AC
secondary
#8ACB95
accent
#DF6149
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238AC

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

Preview Lab → · Contrast checker → · Palette generator →

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