#C231AC#C231AC

#C231AC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.220 H 335.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C231AC
RGBrgb(194, 49, 172)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 76%)
CMYKcmyk(0%, 74.7%, 11.3%, 23.9%)
CIE-LABlab(47.81, 68.35, -33.95)
CIE-LCHlch(47.81, 76.32, 333.59°)
OKLaboklab(57.93% 0.1995 -0.0928)
OKLCHoklch(57.93% 0.22 335.1)
XYZxyz(30.7932, 16.6473, 40.6132)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231AC #31C247
analogous
#8F31C2 #C231AC #C23164
triadic
#C231AC #ACC231 #31ACC2
tetradic
#C231AC #C28F31 #31C247 #3164C2
square
#C231AC #C28F31 #31C247 #3164C2
split-complementary
#C231AC #64C231 #31C28F
monochromatic
#601855 #912581 #C231AC #D65BC3 #E28CD5

Accessibility & contrast

On white

4.85
#C231AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C231AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231AC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231AC#FFFFFF#000000##FFFFFF
##C231AC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064AF
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#CC3D6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c231ac;
/* rgb */ color: rgb(194, 49, 172);
/* oklch */ color: oklch(57.9% 0.220 335.1);
Tailwind
colors: {
  custom: {
    50: '#d878c5',
    500: '#c231ac',
    950: '#000000',
  },
}
SCSS
$custom: #c231ac;
$custom-light: #d878c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c231ac",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 309.103,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.22005,
    "h": 335.1
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#C231AC
secondary
#83CC8E
accent
#E35D45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231AC

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

Preview Lab → · Contrast checker → · Palette generator →

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