#C151C3#C151C3

#C151C3 is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.197 H 326.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C151C3
RGBrgb(193, 81, 195)
HSLhsl(299, 49%, 54%)
HSVhsv(299, 58%, 76%)
CMYKcmyk(1%, 58.5%, 0%, 23.5%)
CIE-LABlab(53.13, 59.67, -39.00)
CIE-LCHlch(53.13, 71.29, 326.84°)
OKLaboklab(62.11% 0.1653 -0.1076)
OKLCHoklch(62.11% 0.197 326.9)
XYZxyz(34.7845, 21.1646, 53.8722)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151C3 #53C351
analogous
#8851C3 #C151C3 #C3518C
triadic
#C151C3 #C3C151 #51C3C1
tetradic
#C151C3 #C38851 #53C351 #518CC3
square
#C151C3 #C38851 #53C351 #518CC3
split-complementary
#C151C3 #8CC351 #51C388
monochromatic
#712772 #9E37A0 #C151C3 #D17FD3 #E1ACE2

Accessibility & contrast

On white

4.01
#C151C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C151C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151C3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151C3#FFFFFF#000000##000000
##C151C31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4376C7
Deuteranopia (green-blind)
#6984C0
Tritanopia (blue-blind)
#C65F83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c151c3;
/* rgb */ color: rgb(193, 81, 195);
/* oklch */ color: oklch(62.1% 0.197 326.9);
Tailwind
colors: {
  custom: {
    50: '#d788d5',
    500: '#c151c3',
    950: '#000000',
  },
}
SCSS
$custom: #c151c3;
$custom-light: #d788d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c151c3",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 298.947,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.19726,
    "h": 326.9
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#C151C3
secondary
#A1D0A0
accent
#D85052
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C151C3

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

Preview Lab → · Contrast checker → · Palette generator →

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