#C157CF#C157CF

#C157CF is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.5% C 0.199 H 322.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C157CF
RGBrgb(193, 87, 207)
HSLhsl(293, 56%, 58%)
HSVhsv(293, 58%, 81%)
CMYKcmyk(6.8%, 58%, 0%, 18.8%)
CIE-LABlab(54.72, 59.13, -43.36)
CIE-LCHlch(54.72, 73.33, 323.75°)
OKLaboklab(63.47% 0.1588 -0.1203)
OKLCHoklch(63.47% 0.199 322.9)
XYZxyz(36.6619, 22.6607, 61.4622)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157CF #65CF57
analogous
#8557CF #C157CF #CF57A1
triadic
#C157CF #CFC157 #57CFC1
tetradic
#C157CF #CF8557 #65CF57 #57A1CF
square
#C157CF #CF8557 #65CF57 #57A1CF
split-complementary
#C157CF #A1CF57 #57CF85
monochromatic
#7A2685 #A634B5 #C157CF #D387DD #E4B6EA

Accessibility & contrast

On white

3.80
#C157CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C157CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157CF#FFFFFF#000000##000000
##C157CF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#C4688B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c157cf;
/* rgb */ color: rgb(193, 87, 207);
/* oklch */ color: oklch(63.5% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#d78cde',
    500: '#c157cf',
    950: '#000000',
  },
}
SCSS
$custom: #c157cf;
$custom-light: #d78cde;
$custom-dark: #000000;
JSON
{
  "hex": "#c157cf",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 293,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63472,
    "c": 0.19919,
    "h": 322.9
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#C157CF
secondary
#AED9A9
accent
#DF495A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C157CF

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

Preview Lab → · Contrast checker → · Palette generator →

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