#C331C6#C331C6

#C331C6 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.5% C 0.239 H 327.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C331C6
RGBrgb(195, 49, 198)
HSLhsl(299, 60%, 48%)
HSVhsv(299, 75%, 78%)
CMYKcmyk(1.5%, 75.3%, 0%, 22.4%)
CIE-LABlab(49.35, 72.55, -46.69)
CIE-LCHlch(49.35, 86.28, 327.24°)
OKLaboklab(59.5% 0.2011 -0.1297)
OKLCHoklch(59.5% 0.239 327.2)
XYZxyz(33.7965, 17.8784, 55.0859)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331C6 #34C631
analogous
#7831C6 #C331C6 #C6317E
triadic
#C331C6 #C6C331 #31C6C3
tetradic
#C331C6 #C67831 #34C631 #317EC6
square
#C331C6 #C67831 #34C631 #317EC6
split-complementary
#C331C6 #7EC631 #31C678
monochromatic
#621964 #932595 #C331C6 #D55DD7 #E18EE3

Accessibility & contrast

On white

4.59
#C331C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C331C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C331C6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331C6#FFFFFF#000000##FFFFFF
##C331C61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#587CC2
Tritanopia (blue-blind)
#C94A7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c331c6;
/* rgb */ color: rgb(195, 49, 198);
/* oklch */ color: oklch(59.5% 0.239 327.2);
Tailwind
colors: {
  custom: {
    50: '#d979d8',
    500: '#c331c6',
    950: '#000000',
  },
}
SCSS
$custom: #c331c6;
$custom-light: #d979d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c331c6",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 298.792,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.595,
    "c": 0.23925,
    "h": 327.2
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#C331C6
secondary
#87CE85
accent
#E34448
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C331C6

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

Preview Lab → · Contrast checker → · Palette generator →

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