#C151C1#C151C1

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

Color values

HEX#C151C1
RGBrgb(193, 81, 193)
HSLhsl(300, 47%, 54%)
HSVhsv(300, 58%, 76%)
CMYKcmyk(0%, 58%, 0%, 24.3%)
CIE-LABlab(53.03, 59.33, -38.00)
CIE-LCHlch(53.03, 70.45, 327.36°)
OKLaboklab(62.01% 0.1651 -0.1047)
OKLCHoklch(62.01% 0.196 327.6)
XYZxyz(34.5599, 21.0747, 52.6893)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151C1 #51C151
analogous
#8951C1 #C151C1 #C15189
triadic
#C151C1 #C1C151 #51C1C1
tetradic
#C151C1 #C18951 #51C151 #5189C1
square
#C151C1 #C18951 #51C151 #5189C1
split-complementary
#C151C1 #89C151 #51C189
monochromatic
#702870 #9D389D #C151C1 #D17ED1 #E1ABE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C151C1#FFFFFF#000000##000000
##C151C11.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)
#4475C4
Deuteranopia (green-blind)
#6A84BE
Tritanopia (blue-blind)
#C65F82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c151c1;
/* rgb */ color: rgb(193, 81, 193);
/* oklch */ color: oklch(62.0% 0.196 327.6);
Tailwind
colors: {
  custom: {
    50: '#d788d4',
    500: '#c151c1',
    950: '#000000',
  },
}
SCSS
$custom: #c151c1;
$custom-light: #d788d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c151c1",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62012,
    "c": 0.19555,
    "h": 327.6
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C151C1

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

Preview Lab → · Contrast checker → · Palette generator →

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