#C151C0#C151C0

#C151C0 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 62.0% C 0.195 H 328.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C151C0
RGBrgb(193, 81, 192)
HSLhsl(301, 47%, 54%)
HSVhsv(301, 58%, 76%)
CMYKcmyk(0%, 58%, 0.5%, 24.3%)
CIE-LABlab(52.98, 59.15, -37.50)
CIE-LCHlch(52.98, 70.04, 327.63°)
OKLaboklab(61.96% 0.165 -0.1033)
OKLCHoklch(61.96% 0.195 328)
XYZxyz(34.4487, 21.0303, 52.1037)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151C0 #51C152
analogous
#8A51C1 #C151C0 #C15188
triadic
#C151C0 #C0C151 #51C0C1
tetradic
#C151C0 #C18A51 #51C152 #5188C1
square
#C151C0 #C18A51 #51C152 #5188C1
split-complementary
#C151C0 #88C151 #51C18A
monochromatic
#70286F #9D389C #C151C0 #D17ED0 #E1ABE1

Accessibility & contrast

On white

4.03
#C151C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C151C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151C0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151C0#FFFFFF#000000##000000
##C151C01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C3
Deuteranopia (green-blind)
#6B84BD
Tritanopia (blue-blind)
#C75E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c151c0;
/* rgb */ color: rgb(193, 81, 192);
/* oklch */ color: oklch(62.0% 0.195 328.0);
Tailwind
colors: {
  custom: {
    50: '#d788d3',
    500: '#c151c0',
    950: '#000000',
  },
}
SCSS
$custom: #c151c0;
$custom-light: #d788d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c151c0",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 300.536,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.1947,
    "h": 328
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#C151C0
secondary
#9FCF9F
accent
#D75251
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C151C0

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

Preview Lab → · Contrast checker → · Palette generator →

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