#C231C5#C231C5

#C231C5 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.3% C 0.238 H 327.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C231C5
RGBrgb(194, 49, 197)
HSLhsl(299, 60%, 48%)
HSVhsv(299, 75%, 77%)
CMYKcmyk(1.5%, 75.1%, 0%, 22.7%)
CIE-LABlab(49.13, 72.19, -46.47)
CIE-LCHlch(49.13, 85.85, 327.23°)
OKLaboklab(59.29% 0.2001 -0.129)
OKLCHoklch(59.29% 0.238 327.2)
XYZxyz(33.4240, 17.6996, 54.4684)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231C5 #34C531
analogous
#7831C5 #C231C5 #C5317E
triadic
#C231C5 #C5C231 #31C5C2
tetradic
#C231C5 #C57831 #34C531 #317EC5
square
#C231C5 #C57831 #34C531 #317EC5
split-complementary
#C231C5 #7EC531 #31C578
monochromatic
#611963 #922594 #C231C5 #D45DD7 #E18EE3

Accessibility & contrast

On white

4.63
#C231C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C231C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C231C5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231C5#FFFFFF#000000##FFFFFF
##C231C51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#C84A7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c231c5;
/* rgb */ color: rgb(194, 49, 197);
/* oklch */ color: oklch(59.3% 0.238 327.2);
Tailwind
colors: {
  custom: {
    50: '#d979d7',
    500: '#c231c5',
    950: '#000000',
  },
}
SCSS
$custom: #c231c5;
$custom-light: #d979d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c231c5",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 298.784,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.23806,
    "h": 327.2
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#C231C5
secondary
#86CD85
accent
#E34448
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C231C5

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

Preview Lab → · Contrast checker → · Palette generator →

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