#C157BE#C157BE

#C157BE is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.6% C 0.184 H 328.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C157BE
RGBrgb(193, 87, 190)
HSLhsl(302, 46%, 55%)
HSVhsv(302, 55%, 76%)
CMYKcmyk(0%, 54.9%, 1.6%, 24.3%)
CIE-LABlab(53.89, 56.07, -34.92)
CIE-LCHlch(53.89, 66.06, 328.09°)
OKLaboklab(62.6% 0.1571 -0.0959)
OKLCHoklch(62.6% 0.184 328.6)
XYZxyz(34.6943, 21.8737, 51.0999)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157BE #57C15A
analogous
#8F57C1 #C157BE #C15789
triadic
#C157BE #BEC157 #57BEC1
tetradic
#C157BE #C18F57 #57C15A #5789C1
square
#C157BE #C18F57 #57C15A #5789C1
split-complementary
#C157BE #89C157 #57C18F
monochromatic
#732A71 #A03B9D #C157BE #D184CF #E2B0E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C157BE#FFFFFF#000000##000000
##C157BE1.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)
#4E78C1
Deuteranopia (green-blind)
#7086BB
Tritanopia (blue-blind)
#C76282
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c157be;
/* rgb */ color: rgb(193, 87, 190);
/* oklch */ color: oklch(62.6% 0.184 328.6);
Tailwind
colors: {
  custom: {
    50: '#d68cd2',
    500: '#c157be',
    950: '#000000',
  },
}
SCSS
$custom: #c157be;
$custom-light: #d68cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c157be",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 301.698,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62596,
    "c": 0.18405,
    "h": 328.6
  },
  "luminance": 0.21872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C157BE

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

Preview Lab → · Contrast checker → · Palette generator →

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