#C231AF#C231AF

#C231AF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.222 H 334.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C231AF
RGBrgb(194, 49, 175)
HSLhsl(308, 60%, 48%)
HSVhsv(308, 75%, 76%)
CMYKcmyk(0%, 74.7%, 9.8%, 23.9%)
CIE-LABlab(47.96, 68.79, -35.48)
CIE-LCHlch(47.96, 77.40, 332.72°)
OKLaboklab(58.08% 0.1997 -0.0972)
OKLCHoklch(58.08% 0.222 334)
XYZxyz(31.0846, 16.7638, 42.1477)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231AF #31C244
analogous
#8C31C2 #C231AF #C23166
triadic
#C231AF #AFC231 #31AFC2
tetradic
#C231AF #C28C31 #31C244 #3166C2
square
#C231AF #C28C31 #31C244 #3166C2
split-complementary
#C231AF #66C231 #31C28C
monochromatic
#601857 #912583 #C231AF #D65BC5 #E28CD7

Accessibility & contrast

On white

4.83
#C231AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C231AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231AF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231AF#FFFFFF#000000##FFFFFF
##C231AF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#6479AC
Tritanopia (blue-blind)
#CB3F6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c231af;
/* rgb */ color: rgb(194, 49, 175);
/* oklch */ color: oklch(58.1% 0.222 334.0);
Tailwind
colors: {
  custom: {
    50: '#d878c7',
    500: '#c231af',
    950: '#000000',
  },
}
SCSS
$custom: #c231af;
$custom-light: #d878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c231af",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 307.862,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.22212,
    "h": 334
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#C231AF
secondary
#83CC8C
accent
#E35A45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231AF

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

Preview Lab → · Contrast checker → · Palette generator →

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