#C231B0#C231B0

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

Color values

HEX#C231B0
RGBrgb(194, 49, 176)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 74.7%, 9.3%, 23.9%)
CIE-LABlab(48.01, 68.94, -35.99)
CIE-LCHlch(48.01, 77.77, 332.43°)
OKLaboklab(58.13% 0.1998 -0.0987)
OKLCHoklch(58.13% 0.223 333.7)
XYZxyz(31.1832, 16.8032, 42.6669)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231B0 #31C243
analogous
#8B31C2 #C231B0 #C23168
triadic
#C231B0 #B0C231 #31B0C2
tetradic
#C231B0 #C28B31 #31C243 #3168C2
square
#C231B0 #C28B31 #31C243 #3168C2
split-complementary
#C231B0 #68C231 #31C28B
monochromatic
#601857 #912584 #C231B0 #D65BC6 #E28CD7

Accessibility & contrast

On white

4.82
#C231B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C231B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231B0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231B0#FFFFFF#000000##FFFFFF
##C231B01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B3
Deuteranopia (green-blind)
#6379AD
Tritanopia (blue-blind)
#CB3F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c231b0;
/* rgb */ color: rgb(194, 49, 176);
/* oklch */ color: oklch(58.1% 0.223 333.7);
Tailwind
colors: {
  custom: {
    50: '#d878c8',
    500: '#c231b0',
    950: '#000000',
  },
}
SCSS
$custom: #c231b0;
$custom-light: #d878c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c231b0",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 307.448,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.22282,
    "h": 333.7
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C231B0

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

Preview Lab → · Contrast checker → · Palette generator →

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