#C157CC#C157CC

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

Color values

HEX#C157CC
RGBrgb(193, 87, 204)
HSLhsl(294, 53%, 57%)
HSVhsv(294, 57%, 80%)
CMYKcmyk(5.4%, 57.4%, 0%, 20%)
CIE-LABlab(54.57, 58.58, -41.88)
CIE-LCHlch(54.57, 72.01, 324.44°)
OKLaboklab(63.31% 0.1586 -0.116)
OKLCHoklch(63.31% 0.196 323.8)
XYZxyz(36.2986, 22.5154, 59.5490)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157CC #62CC57
analogous
#8757CC #C157CC #CC579D
triadic
#C157CC #CCC157 #57CCC1
tetradic
#C157CC #CC8757 #62CC57 #579DCC
square
#C157CC #CC8757 #62CC57 #579DCC
split-complementary
#C157CC #9DCC57 #57CC87
monochromatic
#792781 #A536B0 #C157CC #D286DA #E4B5E9

Accessibility & contrast

On white

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

On black

5.50
#C157CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157CC#FFFFFF#000000##000000
##C157CC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#C46789
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c157cc;
/* rgb */ color: rgb(193, 87, 204);
/* oklch */ color: oklch(63.3% 0.196 323.8);
Tailwind
colors: {
  custom: {
    50: '#d68cdc',
    500: '#c157cc',
    950: '#000000',
  },
}
SCSS
$custom: #c157cc;
$custom-light: #d68cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c157cc",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 294.359,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63312,
    "c": 0.19646,
    "h": 323.8
  },
  "luminance": 0.22513
}

Semantic roles & 50–950 ramp

primary
#C157CC
secondary
#ACD7A8
accent
#DD4B59
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C157CC

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

Preview Lab → · Contrast checker → · Palette generator →

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