#C151C7#C151C7

#C151C7 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.3% C 0.201 H 325.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C151C7
RGBrgb(193, 81, 199)
HSLhsl(297, 51%, 55%)
HSVhsv(297, 59%, 78%)
CMYKcmyk(3%, 59.3%, 0%, 22%)
CIE-LABlab(53.33, 60.38, -40.98)
CIE-LCHlch(53.33, 72.97, 325.83°)
OKLaboklab(62.33% 0.1657 -0.1133)
OKLCHoklch(62.33% 0.201 325.6)
XYZxyz(35.2428, 21.3479, 56.2860)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151C7 #57C751
analogous
#8651C7 #C151C7 #C75192
triadic
#C151C7 #C7C151 #51C7C1
tetradic
#C151C7 #C78651 #57C751 #5192C7
square
#C151C7 #C78651 #57C751 #5192C7
split-complementary
#C151C7 #92C751 #51C786
monochromatic
#732677 #A035A6 #C151C7 #D17FD6 #E2AEE5

Accessibility & contrast

On white

3.99
#C151C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C151C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151C7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151C7#FFFFFF#000000##000000
##C151C71.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076CB
Deuteranopia (green-blind)
#6784C4
Tritanopia (blue-blind)
#C56185
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c151c7;
/* rgb */ color: rgb(193, 81, 199);
/* oklch */ color: oklch(62.3% 0.201 325.6);
Tailwind
colors: {
  custom: {
    50: '#d788d8',
    500: '#c151c7',
    950: '#000000',
  },
}
SCSS
$custom: #c151c7;
$custom-light: #d788d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c151c7",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 296.949,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62325,
    "c": 0.20072,
    "h": 325.6
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#C151C7
secondary
#A4D3A1
accent
#DB4D54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C151C7

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

Preview Lab → · Contrast checker → · Palette generator →

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