#C157CB#C157CB

#C157CB is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.3% C 0.196 H 324.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C157CB
RGBrgb(193, 87, 203)
HSLhsl(295, 53%, 57%)
HSVhsv(295, 57%, 80%)
CMYKcmyk(4.9%, 57.1%, 0%, 20.4%)
CIE-LABlab(54.52, 58.40, -41.39)
CIE-LCHlch(54.52, 71.58, 324.67°)
OKLaboklab(63.26% 0.1585 -0.1146)
OKLCHoklch(63.26% 0.196 324.1)
XYZxyz(36.1791, 22.4676, 58.9194)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157CB #61CB57
analogous
#8757CB #C157CB #CB579B
triadic
#C157CB #CBC157 #57CBC1
tetradic
#C157CB #CB8757 #61CB57 #579BCB
square
#C157CB #CB8757 #61CB57 #579BCB
split-complementary
#C157CB #9BCB57 #57CB87
monochromatic
#782880 #A436AF #C157CB #D286D9 #E3B4E8

Accessibility & contrast

On white

3.82
#C157CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C157CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157CB#FFFFFF#000000##000000
##C157CB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#C56789
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c157cb;
/* rgb */ color: rgb(193, 87, 203);
/* oklch */ color: oklch(63.3% 0.196 324.1);
Tailwind
colors: {
  custom: {
    50: '#d68cdb',
    500: '#c157cb',
    950: '#000000',
  },
}
SCSS
$custom: #c157cb;
$custom-light: #d68cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c157cb",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 294.828,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63259,
    "c": 0.19556,
    "h": 324.1
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#C157CB
secondary
#ABD7A7
accent
#DC4C58
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C157CB

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

Preview Lab → · Contrast checker → · Palette generator →

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