#C331D7#C331D7

#C331D7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.5% C 0.252 H 322.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C331D7
RGBrgb(195, 49, 215)
HSLhsl(293, 67%, 52%)
HSVhsv(293, 77%, 84%)
CMYKcmyk(9.3%, 77.2%, 0%, 15.7%)
CIE-LABlab(50.34, 75.36, -54.88)
CIE-LCHlch(50.34, 93.22, 323.94°)
OKLaboklab(60.53% 0.2 -0.1535)
OKLCHoklch(60.53% 0.252 322.5)
XYZxyz(35.8685, 18.7072, 65.9984)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331D7 #45D731
analogous
#7031D7 #C331D7 #D73198
triadic
#C331D7 #D7C331 #31D7C3
tetradic
#C331D7 #D77031 #45D731 #3198D7
square
#C331D7 #D77031 #45D731 #3198D7
split-complementary
#C331D7 #98D731 #31D770
monochromatic
#6B1777 #9921AA #C331D7 #D264E1 #E197EB

Accessibility & contrast

On white

4.43
#C331D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C331D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C331D7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331D7#FFFFFF#000000##000000
##C331D71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#C55384
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c331d7;
/* rgb */ color: rgb(195, 49, 215);
/* oklch */ color: oklch(60.5% 0.252 322.5);
Tailwind
colors: {
  custom: {
    50: '#da7ae4',
    500: '#c331d7',
    950: '#000000',
  },
}
SCSS
$custom: #c331d7;
$custom-light: #da7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#c331d7",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 215
  },
  "hsl": {
    "h": 292.771,
    "s": 67.48,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.25214,
    "h": 322.5
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#C331D7
secondary
#96D68D
accent
#EA3D52
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #C331D7

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

Preview Lab → · Contrast checker → · Palette generator →

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