#C157BA#C157BA

#C157BA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.4% C 0.181 H 330.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C157BA
RGBrgb(193, 87, 186)
HSLhsl(304, 46%, 55%)
HSVhsv(304, 55%, 76%)
CMYKcmyk(0%, 54.9%, 3.6%, 24.3%)
CIE-LABlab(53.71, 55.38, -32.90)
CIE-LCHlch(53.71, 64.42, 329.29°)
OKLaboklab(62.4% 0.1565 -0.0901)
OKLCHoklch(62.4% 0.181 330.1)
XYZxyz(34.2632, 21.7012, 48.8289)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157BA #57C15E
analogous
#9357C1 #C157BA #C15785
triadic
#C157BA #BAC157 #57BAC1
tetradic
#C157BA #C19357 #57C15E #5785C1
square
#C157BA #C19357 #57C15E #5785C1
split-complementary
#C157BA #85C157 #57C193
monochromatic
#732A6E #A03B99 #C157BA #D184CC #E2B0DF

Accessibility & contrast

On white

3.93
#C157BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C157BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157BA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157BA#FFFFFF#000000##000000
##C157BA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#7186B7
Tritanopia (blue-blind)
#C86180
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c157ba;
/* rgb */ color: rgb(193, 87, 186);
/* oklch */ color: oklch(62.4% 0.181 330.1);
Tailwind
colors: {
  custom: {
    50: '#d68bcf',
    500: '#c157ba',
    950: '#000000',
  },
}
SCSS
$custom: #c157ba;
$custom-light: #d68bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#c157ba",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 303.962,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.18063,
    "h": 330.1
  },
  "luminance": 0.21699
}

Semantic roles & 50–950 ramp

primary
#C157BA
secondary
#A4D0A7
accent
#D65B52
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C157BA

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

Preview Lab → · Contrast checker → · Palette generator →

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