#C157E1#C157E1

#C157E1 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.216 H 317.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C157E1
RGBrgb(193, 87, 225)
HSLhsl(286, 70%, 61%)
HSVhsv(286, 61%, 88%)
CMYKcmyk(14.2%, 61.3%, 0%, 11.8%)
CIE-LABlab(55.68, 62.56, -52.04)
CIE-LCHlch(55.68, 81.37, 320.25°)
OKLaboklab(64.48% 0.1595 -0.1456)
OKLCHoklch(64.48% 0.216 317.6)
XYZxyz(38.9892, 23.5916, 73.7194)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157E1 #77E157
analogous
#7C57E1 #C157E1 #E157BC
triadic
#C157E1 #E1C157 #57E1C1
tetradic
#C157E1 #E17C57 #77E157 #57BCE1
square
#C157E1 #E17C57 #77E157 #57BCE1
split-complementary
#C157E1 #BCE157 #57E17C
monochromatic
#821DA1 #AC26D5 #C157E1 #D48BEA #E7BFF4

Accessibility & contrast

On white

3.67
#C157E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C157E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157E1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157E1#FFFFFF#000000##000000
##C157E11.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE5
Deuteranopia (green-blind)
#5C89DE
Tritanopia (blue-blind)
#C06F94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c157e1;
/* rgb */ color: rgb(193, 87, 225);
/* oklch */ color: oklch(64.5% 0.216 317.6);
Tailwind
colors: {
  custom: {
    50: '#d78ceb',
    500: '#c157e1',
    950: '#000000',
  },
}
SCSS
$custom: #c157e1;
$custom-light: #d78ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#c157e1",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 286.087,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64476,
    "c": 0.21591,
    "h": 317.6
  },
  "luminance": 0.2359
}

Semantic roles & 50–950 ramp

primary
#C157E1
secondary
#BCE4B0
accent
#D21440
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C157E1

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

Preview Lab → · Contrast checker → · Palette generator →

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