#C231B3#C231B3

#C231B3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.225 H 332.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C231B3
RGBrgb(194, 49, 179)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 74.7%, 7.7%, 23.9%)
CIE-LABlab(48.16, 69.39, -37.51)
CIE-LCHlch(48.16, 78.88, 331.60°)
OKLaboklab(58.29% 0.1999 -0.1031)
OKLCHoklch(58.29% 0.225 332.7)
XYZxyz(31.4833, 16.9233, 44.2475)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231B3 #31C240
analogous
#8931C2 #C231B3 #C2316A
triadic
#C231B3 #B3C231 #31B3C2
tetradic
#C231B3 #C28931 #31C240 #316AC2
square
#C231B3 #C28931 #31C240 #316AC2
split-complementary
#C231B3 #6AC231 #31C289
monochromatic
#601859 #912586 #C231B3 #D65BC9 #E28CD9

Accessibility & contrast

On white

4.79
#C231B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C231B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231B3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231B3#FFFFFF#000000##FFFFFF
##C231B31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B7
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#CB4170
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c231b3;
/* rgb */ color: rgb(194, 49, 179);
/* oklch */ color: oklch(58.3% 0.225 332.7);
Tailwind
colors: {
  custom: {
    50: '#d878ca',
    500: '#c231b3',
    950: '#000000',
  },
}
SCSS
$custom: #c231b3;
$custom-light: #d878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c231b3",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 306.207,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.22493,
    "h": 332.7
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#C231B3
secondary
#83CC8A
accent
#E35545
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231B3

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

Preview Lab → · Contrast checker → · Palette generator →

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