#C157BD#C157BD

#C157BD is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.5% C 0.183 H 329.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C157BD
RGBrgb(193, 87, 189)
HSLhsl(302, 46%, 55%)
HSVhsv(302, 55%, 76%)
CMYKcmyk(0%, 54.9%, 2.1%, 24.3%)
CIE-LABlab(53.85, 55.90, -34.41)
CIE-LCHlch(53.85, 65.64, 328.38°)
OKLaboklab(62.55% 0.157 -0.0945)
OKLCHoklch(62.55% 0.183 329)
XYZxyz(34.5854, 21.8301, 50.5262)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157BD #57C15B
analogous
#9057C1 #C157BD #C15788
triadic
#C157BD #BDC157 #57BDC1
tetradic
#C157BD #C19057 #57C15B #5788C1
square
#C157BD #C19057 #57C15B #5788C1
split-complementary
#C157BD #88C157 #57C190
monochromatic
#732A70 #A03B9C #C157BD #D184CF #E2B0E0

Accessibility & contrast

On white

3.91
#C157BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C157BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157BD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157BD#FFFFFF#000000##000000
##C157BD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#C76282
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c157bd;
/* rgb */ color: rgb(193, 87, 189);
/* oklch */ color: oklch(62.5% 0.183 329.0);
Tailwind
colors: {
  custom: {
    50: '#d68cd1',
    500: '#c157bd',
    950: '#000000',
  },
}
SCSS
$custom: #c157bd;
$custom-light: #d68cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c157bd",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 302.264,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62547,
    "c": 0.18319,
    "h": 329
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#C157BD
secondary
#A4D0A5
accent
#D65752
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C157BD

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

Preview Lab → · Contrast checker → · Palette generator →

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