#C151B3#C151B3

#C151B3 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.184 H 332.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C151B3
RGBrgb(193, 81, 179)
HSLhsl(308, 47%, 54%)
HSVhsv(308, 58%, 76%)
CMYKcmyk(0%, 58%, 7.3%, 24.3%)
CIE-LABlab(52.38, 56.96, -30.92)
CIE-LCHlch(52.38, 64.81, 331.50°)
OKLaboklab(61.32% 0.1634 -0.0844)
OKLCHoklch(61.32% 0.184 332.7)
XYZxyz(33.0714, 20.4794, 44.8501)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151B3 #51C15F
analogous
#9751C1 #C151B3 #C1517B
triadic
#C151B3 #B3C151 #51B3C1
tetradic
#C151B3 #C19751 #51C15F #517BC1
square
#C151B3 #C19751 #51C15F #517BC1
split-complementary
#C151B3 #7BC151 #51C197
monochromatic
#702867 #9D3890 #C151B3 #D17EC7 #E1ABDA

Accessibility & contrast

On white

4.12
#C151B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C151B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151B3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151B3#FFFFFF#000000##000000
##C151B31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#7183B0
Tritanopia (blue-blind)
#C95A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c151b3;
/* rgb */ color: rgb(193, 81, 179);
/* oklch */ color: oklch(61.3% 0.184 332.7);
Tailwind
colors: {
  custom: {
    50: '#d688ca',
    500: '#c151b3',
    950: '#000000',
  },
}
SCSS
$custom: #c151b3;
$custom-light: #d688ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c151b3",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 307.5,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.18394,
    "h": 332.7
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#C151B3
secondary
#9FCFA5
accent
#D76251
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151B3

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

Preview Lab → · Contrast checker → · Palette generator →

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