#C231C4#C231C4

#C231C4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.237 H 327.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C231C4
RGBrgb(194, 49, 196)
HSLhsl(299, 60%, 48%)
HSVhsv(299, 75%, 77%)
CMYKcmyk(1%, 75%, 0%, 23.1%)
CIE-LABlab(49.07, 72.03, -45.98)
CIE-LCHlch(49.07, 85.46, 327.45°)
OKLaboklab(59.24% 0.2001 -0.1276)
OKLCHoklch(59.24% 0.237 327.5)
XYZxyz(33.3098, 17.6539, 53.8670)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231C4 #33C431
analogous
#7931C4 #C231C4 #C4317C
triadic
#C231C4 #C4C231 #31C4C2
tetradic
#C231C4 #C47931 #33C431 #317CC4
square
#C231C4 #C47931 #33C431 #317CC4
split-complementary
#C231C4 #7CC431 #31C479
monochromatic
#611962 #922593 #C231C4 #D55CD6 #E18DE2

Accessibility & contrast

On white

4.64
#C231C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C231C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C231C4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231C4#FFFFFF#000000##FFFFFF
##C231C41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0569C8
Deuteranopia (green-blind)
#597BC0
Tritanopia (blue-blind)
#C84A79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c231c4;
/* rgb */ color: rgb(194, 49, 196);
/* oklch */ color: oklch(59.2% 0.237 327.5);
Tailwind
colors: {
  custom: {
    50: '#d979d6',
    500: '#c231c4',
    950: '#000000',
  },
}
SCSS
$custom: #c231c4;
$custom-light: #d979d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c231c4",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 299.184,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.23731,
    "h": 327.5
  },
  "luminance": 0.17651
}

Semantic roles & 50–950 ramp

primary
#C231C4
secondary
#85CD84
accent
#E34547
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C231C4

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

Preview Lab → · Contrast checker → · Palette generator →

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