#C151C2#C151C2

#C151C2 is a light, vivid purple. Relative luminance 0.211; OKLCH L 62.1% C 0.196 H 327.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C151C2
RGBrgb(193, 81, 194)
HSLhsl(299, 48%, 54%)
HSVhsv(299, 58%, 76%)
CMYKcmyk(0.5%, 58.2%, 0%, 23.9%)
CIE-LABlab(53.08, 59.50, -38.50)
CIE-LCHlch(53.08, 70.87, 327.10°)
OKLaboklab(62.06% 0.1652 -0.1062)
OKLCHoklch(62.06% 0.196 327.3)
XYZxyz(34.6718, 21.1195, 53.2787)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151C2 #52C251
analogous
#8951C2 #C151C2 #C2518B
triadic
#C151C2 #C2C151 #51C2C1
tetradic
#C151C2 #C28951 #52C251 #518BC2
square
#C151C2 #C28951 #52C251 #518BC2
split-complementary
#C151C2 #8BC251 #51C289
monochromatic
#702871 #9D379E #C151C2 #D17ED2 #E1ACE2

Accessibility & contrast

On white

4.02
#C151C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C151C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151C2#FFFFFF#000000##000000
##C151C21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#6A84BF
Tritanopia (blue-blind)
#C65F82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c151c2;
/* rgb */ color: rgb(193, 81, 194);
/* oklch */ color: oklch(62.1% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#d788d5',
    500: '#c151c2',
    950: '#000000',
  },
}
SCSS
$custom: #c151c2;
$custom-light: #d788d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c151c2",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 299.469,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62064,
    "c": 0.19641,
    "h": 327.3
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#C151C2
secondary
#A0D09F
accent
#D85051
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C151C2

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

Preview Lab → · Contrast checker → · Palette generator →

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