#C331C4#C331C4

#C331C4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.238 H 327.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C331C4
RGBrgb(195, 49, 196)
HSLhsl(300, 60%, 48%)
HSVhsv(300, 75%, 77%)
CMYKcmyk(0.5%, 75%, 0%, 23.1%)
CIE-LABlab(49.24, 72.23, -45.72)
CIE-LCHlch(49.24, 85.48, 327.67°)
OKLaboklab(59.39% 0.2011 -0.1268)
OKLCHoklch(59.39% 0.238 327.8)
XYZxyz(33.5673, 17.7867, 53.8790)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331C4 #32C431
analogous
#7931C4 #C331C4 #C4317B
triadic
#C331C4 #C4C331 #31C4C3
tetradic
#C331C4 #C47931 #32C431 #317BC4
square
#C331C4 #C47931 #32C431 #317BC4
split-complementary
#C331C4 #7BC431 #31C479
monochromatic
#621962 #922593 #C331C4 #D55CD6 #E28DE2

Accessibility & contrast

On white

4.61
#C331C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C331C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C331C4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331C4#FFFFFF#000000##FFFFFF
##C331C41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c331c4;
/* rgb */ color: rgb(195, 49, 196);
/* oklch */ color: oklch(59.4% 0.238 327.8);
Tailwind
colors: {
  custom: {
    50: '#d979d6',
    500: '#c331c4',
    950: '#000000',
  },
}
SCSS
$custom: #c331c4;
$custom-light: #d979d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c331c4",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 299.592,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.23777,
    "h": 327.8
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C331C4

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

Preview Lab → · Contrast checker → · Palette generator →

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