#C151C8#C151C8

#C151C8 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.4% C 0.202 H 325.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C151C8
RGBrgb(193, 81, 200)
HSLhsl(296, 52%, 55%)
HSVhsv(296, 60%, 78%)
CMYKcmyk(3.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(53.38, 60.56, -41.48)
CIE-LCHlch(53.38, 73.40, 325.59°)
OKLaboklab(62.38% 0.1657 -0.1148)
OKLCHoklch(62.38% 0.202 325.3)
XYZxyz(35.3593, 21.3945, 56.8995)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151C8 #58C851
analogous
#8651C8 #C151C8 #C85193
triadic
#C151C8 #C8C151 #51C8C1
tetradic
#C151C8 #C88651 #58C851 #5193C8
square
#C151C8 #C88651 #58C851 #5193C8
split-complementary
#C151C8 #93C851 #51C886
monochromatic
#742679 #A035A7 #C151C8 #D280D7 #E2AEE5

Accessibility & contrast

On white

3.98
#C151C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C151C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151C8#FFFFFF#000000##000000
##C151C81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CC
Deuteranopia (green-blind)
#6784C5
Tritanopia (blue-blind)
#C56185
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c151c8;
/* rgb */ color: rgb(193, 81, 200);
/* oklch */ color: oklch(62.4% 0.202 325.3);
Tailwind
colors: {
  custom: {
    50: '#d788d9',
    500: '#c151c8',
    950: '#000000',
  },
}
SCSS
$custom: #c151c8;
$custom-light: #d788d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c151c8",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 296.471,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62378,
    "c": 0.20159,
    "h": 325.3
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#C151C8
secondary
#A4D3A1
accent
#DB4C55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #C151C8

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

Preview Lab → · Contrast checker → · Palette generator →

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