#C157BF#C157BF

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

Color values

HEX#C157BF
RGBrgb(193, 87, 191)
HSLhsl(301, 46%, 55%)
HSVhsv(301, 55%, 76%)
CMYKcmyk(0%, 54.9%, 1%, 24.3%)
CIE-LABlab(53.94, 56.25, -35.42)
CIE-LCHlch(53.94, 66.47, 327.80°)
OKLaboklab(62.65% 0.1572 -0.0974)
OKLCHoklch(62.65% 0.185 328.2)
XYZxyz(34.8040, 21.9176, 51.6774)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157BF #57C159
analogous
#8E57C1 #C157BF #C1578A
triadic
#C157BF #BFC157 #57BFC1
tetradic
#C157BF #C18E57 #57C159 #578AC1
square
#C157BF #C18E57 #57C159 #578AC1
split-complementary
#C157BF #8AC157 #57C18E
monochromatic
#732A72 #A03B9E #C157BF #D184D0 #E2B0E1

Accessibility & contrast

On white

3.90
#C157BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#C157BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157BF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157BF#FFFFFF#000000##000000
##C157BF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#C76383
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c157bf;
/* rgb */ color: rgb(193, 87, 191);
/* oklch */ color: oklch(62.6% 0.185 328.2);
Tailwind
colors: {
  custom: {
    50: '#d68cd2',
    500: '#c157bf',
    950: '#000000',
  },
}
SCSS
$custom: #c157bf;
$custom-light: #d68cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c157bf",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 301.132,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62646,
    "c": 0.18492,
    "h": 328.2
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#C157BF
secondary
#A4D0A4
accent
#D65552
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C157BF

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

Preview Lab → · Contrast checker → · Palette generator →

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