#C157CD#C157CD

#C157CD is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.197 H 323.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C157CD
RGBrgb(193, 87, 205)
HSLhsl(294, 54%, 57%)
HSVhsv(294, 58%, 80%)
CMYKcmyk(5.9%, 57.6%, 0%, 19.6%)
CIE-LABlab(54.62, 58.77, -42.38)
CIE-LCHlch(54.62, 72.45, 324.20°)
OKLaboklab(63.37% 0.1586 -0.1174)
OKLCHoklch(63.37% 0.197 323.5)
XYZxyz(36.4189, 22.5635, 60.1827)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157CD #63CD57
analogous
#8657CD #C157CD #CD579E
triadic
#C157CD #CDC157 #57CDC1
tetradic
#C157CD #CD8657 #63CD57 #579ECD
square
#C157CD #CD8657 #63CD57 #579ECD
split-complementary
#C157CD #9ECD57 #57CD86
monochromatic
#792783 #A535B2 #C157CD #D286DB #E4B5E9

Accessibility & contrast

On white

3.81
#C157CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C157CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157CD#FFFFFF#000000##000000
##C157CD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD1
Deuteranopia (green-blind)
#6887CA
Tritanopia (blue-blind)
#C4678A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c157cd;
/* rgb */ color: rgb(193, 87, 205);
/* oklch */ color: oklch(63.4% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#d68cdd',
    500: '#c157cd',
    950: '#000000',
  },
}
SCSS
$custom: #c157cd;
$custom-light: #d68cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c157cd",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 293.898,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63365,
    "c": 0.19737,
    "h": 323.5
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#C157CD
secondary
#ADD8A8
accent
#DD4A59
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C157CD

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

Preview Lab → · Contrast checker → · Palette generator →

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