#C157CA#C157CA

#C157CA is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.2% C 0.195 H 324.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C157CA
RGBrgb(193, 87, 202)
HSLhsl(295, 52%, 57%)
HSVhsv(295, 57%, 79%)
CMYKcmyk(4.5%, 56.9%, 0%, 20.8%)
CIE-LABlab(54.47, 58.22, -40.90)
CIE-LCHlch(54.47, 71.15, 324.91°)
OKLaboklab(63.21% 0.1584 -0.1132)
OKLCHoklch(63.21% 0.195 324.5)
XYZxyz(36.0603, 22.4201, 58.2938)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157CA #60CA57
analogous
#8857CA #C157CA #CA579A
triadic
#C157CA #CAC157 #57CAC1
tetradic
#C157CA #CA8857 #60CA57 #579ACA
square
#C157CA #CA8857 #60CA57 #579ACA
split-complementary
#C157CA #9ACA57 #57CA88
monochromatic
#78287F #A437AD #C157CA #D286D9 #E3B4E7

Accessibility & contrast

On white

3.83
#C157CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C157CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157CA#FFFFFF#000000##000000
##C157CA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#C56688
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c157ca;
/* rgb */ color: rgb(193, 87, 202);
/* oklch */ color: oklch(63.2% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#d68cda',
    500: '#c157ca',
    950: '#000000',
  },
}
SCSS
$custom: #c157ca;
$custom-light: #d68cda;
$custom-dark: #000000;
JSON
{
  "hex": "#c157ca",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 295.304,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63207,
    "c": 0.19465,
    "h": 324.5
  },
  "luminance": 0.22418
}

Semantic roles & 50–950 ramp

primary
#C157CA
secondary
#ABD6A7
accent
#DB4C58
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C157CA

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

Preview Lab → · Contrast checker → · Palette generator →

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