#C157CE#C157CE

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

Color values

HEX#C157CE
RGBrgb(193, 87, 206)
HSLhsl(293, 55%, 57%)
HSVhsv(293, 58%, 81%)
CMYKcmyk(6.3%, 57.8%, 0%, 19.2%)
CIE-LABlab(54.67, 58.95, -42.87)
CIE-LCHlch(54.67, 72.89, 323.98°)
OKLaboklab(63.42% 0.1587 -0.1189)
OKLCHoklch(63.42% 0.198 323.2)
XYZxyz(36.5400, 22.6120, 60.8204)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157CE #64CE57
analogous
#8557CE #C157CE #CE57A0
triadic
#C157CE #CEC157 #57CEC1
tetradic
#C157CE #CE8557 #64CE57 #57A0CE
square
#C157CE #CE8557 #64CE57 #57A0CE
split-complementary
#C157CE #A0CE57 #57CE85
monochromatic
#7A2784 #A634B3 #C157CE #D286DC #E4B6EA

Accessibility & contrast

On white

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

On black

5.52
#C157CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157CE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157CE#FFFFFF#000000##000000
##C157CE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD2
Deuteranopia (green-blind)
#6887CB
Tritanopia (blue-blind)
#C4688A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c157ce;
/* rgb */ color: rgb(193, 87, 206);
/* oklch */ color: oklch(63.4% 0.198 323.2);
Tailwind
colors: {
  custom: {
    50: '#d68cdd',
    500: '#c157ce',
    950: '#000000',
  },
}
SCSS
$custom: #c157ce;
$custom-light: #d68cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c157ce",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 293.445,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63418,
    "c": 0.19828,
    "h": 323.2
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

primary
#C157CE
secondary
#AED8A8
accent
#DE4A5A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C157CE

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

Preview Lab → · Contrast checker → · Palette generator →

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