#C231BF#C231BF

#C231BF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.0% C 0.234 H 329.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C231BF
RGBrgb(194, 49, 191)
HSLhsl(301, 60%, 48%)
HSVhsv(301, 75%, 76%)
CMYKcmyk(0%, 74.7%, 1.5%, 23.9%)
CIE-LABlab(48.80, 71.23, -43.52)
CIE-LCHlch(48.80, 83.48, 328.58°)
OKLaboklab(58.95% 0.2002 -0.1205)
OKLCHoklch(58.95% 0.234 329)
XYZxyz(32.7501, 17.4300, 50.9195)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231BF #31C234
analogous
#7C31C2 #C231BF #C23177
triadic
#C231BF #BFC231 #31BFC2
tetradic
#C231BF #C27C31 #31C234 #3177C2
square
#C231BF #C27C31 #31C234 #3177C2
split-complementary
#C231BF #77C231 #31C27C
monochromatic
#60185F #91258F #C231BF #D65BD3 #E28CE0

Accessibility & contrast

On white

4.68
#C231BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C231BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231BF#FFFFFF#000000##FFFFFF
##C231BF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#5C7BBB
Tritanopia (blue-blind)
#C94776
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c231bf;
/* rgb */ color: rgb(194, 49, 191);
/* oklch */ color: oklch(59.0% 0.234 329.0);
Tailwind
colors: {
  custom: {
    50: '#d879d3',
    500: '#c231bf',
    950: '#000000',
  },
}
SCSS
$custom: #c231bf;
$custom-light: #d879d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c231bf",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 301.241,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.23361,
    "h": 329
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#C231BF
secondary
#83CC84
accent
#E34845
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C231BF

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

Preview Lab → · Contrast checker → · Palette generator →

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