#C151AF#C151AF

#C151AF is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.181 H 334.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C151AF
RGBrgb(193, 81, 175)
HSLhsl(310, 47%, 54%)
HSVhsv(310, 58%, 76%)
CMYKcmyk(0%, 58%, 9.3%, 24.3%)
CIE-LABlab(52.20, 56.30, -28.87)
CIE-LCHlch(52.20, 63.27, 332.85°)
OKLaboklab(61.13% 0.1628 -0.0786)
OKLCHoklch(61.13% 0.181 334.2)
XYZxyz(32.6727, 20.3199, 42.7504)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151AF #51C163
analogous
#9B51C1 #C151AF #C15177
triadic
#C151AF #AFC151 #51AFC1
tetradic
#C151AF #C19B51 #51C163 #5177C1
square
#C151AF #C19B51 #51C163 #5177C1
split-complementary
#C151AF #77C151 #51C19B
monochromatic
#702864 #9D388D #C151AF #D17EC4 #E1ABD8

Accessibility & contrast

On white

4.15
#C151AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C151AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151AF#FFFFFF#000000##000000
##C151AF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#C95879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c151af;
/* rgb */ color: rgb(193, 81, 175);
/* oklch */ color: oklch(61.1% 0.181 334.2);
Tailwind
colors: {
  custom: {
    50: '#d688c7',
    500: '#c151af',
    950: '#000000',
  },
}
SCSS
$custom: #c151af;
$custom-light: #d688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c151af",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 309.643,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.18077,
    "h": 334.2
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#C151AF
secondary
#9FCFA7
accent
#D76651
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151AF

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

Preview Lab → · Contrast checker → · Palette generator →

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