#C331C7#C331C7

#C331C7 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.6% C 0.240 H 326.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C331C7
RGBrgb(195, 49, 199)
HSLhsl(298, 60%, 49%)
HSVhsv(298, 75%, 78%)
CMYKcmyk(2%, 75.4%, 0%, 22%)
CIE-LABlab(49.40, 72.71, -47.18)
CIE-LCHlch(49.40, 86.68, 327.02°)
OKLaboklab(59.56% 0.201 -0.1311)
OKLCHoklch(59.56% 0.24 326.9)
XYZxyz(33.9122, 17.9247, 55.6954)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331C7 #35C731
analogous
#7831C7 #C331C7 #C73180
triadic
#C331C7 #C7C331 #31C7C3
tetradic
#C331C7 #C77831 #35C731 #3180C7
square
#C331C7 #C77831 #35C731 #3180C7
split-complementary
#C331C7 #80C731 #31C778
monochromatic
#631965 #932596 #C331C7 #D45ED7 #E18FE3

Accessibility & contrast

On white

4.58
#C331C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #C331C7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331C7#FFFFFF#000000##000000
##C331C71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#587CC3
Tritanopia (blue-blind)
#C84B7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c331c7;
/* rgb */ color: rgb(195, 49, 199);
/* oklch */ color: oklch(59.6% 0.240 326.9);
Tailwind
colors: {
  custom: {
    50: '#d979d8',
    500: '#c331c7',
    950: '#000000',
  },
}
SCSS
$custom: #c331c7;
$custom-light: #d979d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c331c7",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 298.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.24,
    "h": 326.9
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#C331C7
secondary
#88CE86
accent
#E44448
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C331C7

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

Preview Lab → · Contrast checker → · Palette generator →

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