#C331CA#C331CA

#C331CA is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.242 H 326.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C331CA
RGBrgb(195, 49, 202)
HSLhsl(297, 61%, 49%)
HSVhsv(297, 76%, 79%)
CMYKcmyk(3.5%, 75.7%, 0%, 20.8%)
CIE-LABlab(49.58, 73.20, -48.64)
CIE-LCHlch(49.58, 87.89, 326.40°)
OKLaboklab(59.74% 0.2009 -0.1353)
OKLCHoklch(59.74% 0.242 326)
XYZxyz(34.2640, 18.0654, 57.5479)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331CA #38CA31
analogous
#7731CA #C331CA #CA3185
triadic
#C331CA #CAC331 #31CAC3
tetradic
#C331CA #CA7731 #38CA31 #3185CA
square
#C331CA #CA7731 #38CA31 #3185CA
split-complementary
#C331CA #85CA31 #31CA77
monochromatic
#641967 #932599 #C331CA #D360D8 #E191E4

Accessibility & contrast

On white

4.55
#C331CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C331CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C331CA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331CA#FFFFFF#000000##000000
##C331CA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#C84C7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c331ca;
/* rgb */ color: rgb(195, 49, 202);
/* oklch */ color: oklch(59.7% 0.242 326.0);
Tailwind
colors: {
  custom: {
    50: '#d979db',
    500: '#c331ca',
    950: '#000000',
  },
}
SCSS
$custom: #c331ca;
$custom-light: #d979db;
$custom-dark: #000000;
JSON
{
  "hex": "#c331ca",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 297.255,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.24225,
    "h": 326
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#C331CA
secondary
#8BCF88
accent
#E4444B
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C331CA

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

Preview Lab → · Contrast checker → · Palette generator →

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