#C157E9#C157E9

#C157E9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.223 H 315.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C157E9
RGBrgb(193, 87, 233)
HSLhsl(284, 77%, 63%)
HSVhsv(284, 63%, 91%)
CMYKcmyk(17.2%, 62.7%, 0%, 8.6%)
CIE-LABlab(56.13, 64.14, -55.82)
CIE-LCHlch(56.13, 85.02, 318.97°)
OKLaboklab(64.95% 0.1595 -0.1566)
OKLCHoklch(64.95% 0.223 315.5)
XYZxyz(40.1062, 24.0384, 79.6022)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157E9 #7FE957
analogous
#7857E9 #C157E9 #E957C8
triadic
#C157E9 #E9C157 #57E9C1
tetradic
#C157E9 #E97857 #7FE957 #57C8E9
square
#C157E9 #E97857 #7FE957 #57C8E9
split-complementary
#C157E9 #C8E957 #57E978
monochromatic
#8517AF #AD21E2 #C157E9 #D58DF0 #E9C3F7

Accessibility & contrast

On white

3.62
#C157E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C157E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157E9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157E9#FFFFFF#000000##000000
##C157E91.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080ED
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#BE7298
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c157e9;
/* rgb */ color: rgb(193, 87, 233);
/* oklch */ color: oklch(64.9% 0.223 315.5);
Tailwind
colors: {
  custom: {
    50: '#d78df1',
    500: '#c157e9',
    950: '#000000',
  },
}
SCSS
$custom: #c157e9;
$custom-light: #d78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c157e9",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 283.562,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.22348,
    "h": 315.5
  },
  "luminance": 0.24037
}

Semantic roles & 50–950 ramp

primary
#C157E9
secondary
#C2E8B3
accent
#D90C44
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C157E9

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

Preview Lab → · Contrast checker → · Palette generator →

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