#C231AD#C231AD

#C231AD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.221 H 334.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C231AD
RGBrgb(194, 49, 173)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 76%)
CMYKcmyk(0%, 74.7%, 10.8%, 23.9%)
CIE-LABlab(47.86, 68.50, -34.46)
CIE-LCHlch(47.86, 76.68, 333.29°)
OKLaboklab(57.98% 0.1996 -0.0943)
OKLCHoklch(57.98% 0.221 334.7)
XYZxyz(30.8896, 16.6858, 41.1209)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231AD #31C246
analogous
#8F31C2 #C231AD #C23164
triadic
#C231AD #ADC231 #31ADC2
tetradic
#C231AD #C28F31 #31C246 #3164C2
square
#C231AD #C28F31 #31C246 #3164C2
split-complementary
#C231AD #64C231 #31C28F
monochromatic
#601856 #912581 #C231AD #D65BC4 #E28CD5

Accessibility & contrast

On white

4.84
#C231AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C231AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231AD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231AD#FFFFFF#000000##FFFFFF
##C231AD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#6579AA
Tritanopia (blue-blind)
#CB3E6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c231ad;
/* rgb */ color: rgb(194, 49, 173);
/* oklch */ color: oklch(58.0% 0.221 334.7);
Tailwind
colors: {
  custom: {
    50: '#d878c6',
    500: '#c231ad',
    950: '#000000',
  },
}
SCSS
$custom: #c231ad;
$custom-light: #d878c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c231ad",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 308.69,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57978,
    "c": 0.22073,
    "h": 334.7
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#C231AD
secondary
#83CC8D
accent
#E35C45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231AD

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

Preview Lab → · Contrast checker → · Palette generator →

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