#C151BF#C151BF

#C151BF is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.194 H 328.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C151BF
RGBrgb(193, 81, 191)
HSLhsl(301, 47%, 54%)
HSVhsv(301, 58%, 76%)
CMYKcmyk(0%, 58%, 1%, 24.3%)
CIE-LABlab(52.93, 58.98, -37.00)
CIE-LCHlch(52.93, 69.62, 327.90°)
OKLaboklab(61.91% 0.1649 -0.1018)
OKLCHoklch(61.91% 0.194 328.3)
XYZxyz(34.3383, 20.9861, 51.5222)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151BF #51C153
analogous
#8B51C1 #C151BF #C15187
triadic
#C151BF #BFC151 #51BFC1
tetradic
#C151BF #C18B51 #51C153 #5187C1
square
#C151BF #C18B51 #51C153 #5187C1
split-complementary
#C151BF #87C151 #51C18B
monochromatic
#70286E #9D389B #C151BF #D17ED0 #E1ABE0

Accessibility & contrast

On white

4.04
#C151BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C151BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151BF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151BF#FFFFFF#000000##000000
##C151BF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#6B84BC
Tritanopia (blue-blind)
#C75E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c151bf;
/* rgb */ color: rgb(193, 81, 191);
/* oklch */ color: oklch(61.9% 0.194 328.3);
Tailwind
colors: {
  custom: {
    50: '#d788d2',
    500: '#c151bf',
    950: '#000000',
  },
}
SCSS
$custom: #c151bf;
$custom-light: #d788d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c151bf",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 301.071,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6191,
    "c": 0.19385,
    "h": 328.3
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#C151BF
secondary
#9FCFA0
accent
#D75351
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C151BF

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

Preview Lab → · Contrast checker → · Palette generator →

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