#C157C8#C157C8

#C157C8 is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.1% C 0.193 H 325.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C157C8
RGBrgb(193, 87, 200)
HSLhsl(296, 51%, 56%)
HSVhsv(296, 57%, 78%)
CMYKcmyk(3.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(54.37, 57.85, -39.91)
CIE-LCHlch(54.37, 70.28, 325.40°)
OKLaboklab(63.1% 0.1582 -0.1103)
OKLCHoklch(63.1% 0.193 325.1)
XYZxyz(35.8250, 22.3260, 57.0547)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157C8 #5EC857
analogous
#8957C8 #C157C8 #C85797
triadic
#C157C8 #C8C157 #57C8C1
tetradic
#C157C8 #C88957 #5EC857 #5797C8
square
#C157C8 #C88957 #5EC857 #5797C8
split-complementary
#C157C8 #97C857 #57C889
monochromatic
#77297C #A338AA #C157C8 #D285D7 #E3B3E6

Accessibility & contrast

On white

3.84
#C157C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#C157C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157C8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157C8#FFFFFF#000000##000000
##C157C81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACC
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#C56687
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c157c8;
/* rgb */ color: rgb(193, 87, 200);
/* oklch */ color: oklch(63.1% 0.193 325.1);
Tailwind
colors: {
  custom: {
    50: '#d68cd9',
    500: '#c157c8',
    950: '#000000',
  },
}
SCSS
$custom: #c157c8;
$custom-light: #d68cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#c157c8",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 296.283,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63102,
    "c": 0.19286,
    "h": 325.1
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#C157C8
secondary
#A9D5A6
accent
#DA4E56
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C157C8

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

Preview Lab → · Contrast checker → · Palette generator →

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