#C157DB#C157DB

#C157DB is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.1% C 0.210 H 319.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C157DB
RGBrgb(193, 87, 219)
HSLhsl(288, 65%, 60%)
HSVhsv(288, 60%, 86%)
CMYKcmyk(11.9%, 60.3%, 0%, 14.1%)
CIE-LABlab(55.35, 61.40, -49.17)
CIE-LCHlch(55.35, 78.66, 321.31°)
OKLaboklab(64.13% 0.1594 -0.1372)
OKLCHoklch(64.13% 0.21 319.3)
XYZxyz(38.1850, 23.2700, 69.4843)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157DB #71DB57
analogous
#7F57DB #C157DB #DB57B3
triadic
#C157DB #DBC157 #57DBC1
tetradic
#C157DB #DB7F57 #71DB57 #57B3DB
square
#C157DB #DB7F57 #71DB57 #57B3DB
split-complementary
#C157DB #B3DB57 #57DB7F
monochromatic
#802097 #AA2BCA #C157DB #D489E6 #E6BCF1

Accessibility & contrast

On white

3.71
#C157DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C157DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157DB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157DB#FFFFFF#000000##000000
##C157DB1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#6088D8
Tritanopia (blue-blind)
#C16D91
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c157db;
/* rgb */ color: rgb(193, 87, 219);
/* oklch */ color: oklch(64.1% 0.210 319.3);
Tailwind
colors: {
  custom: {
    50: '#d78ce7',
    500: '#c157db',
    950: '#000000',
  },
}
SCSS
$custom: #c157db;
$custom-light: #d78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#c157db",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 288.182,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.21028,
    "h": 319.3
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#C157DB
secondary
#B7E0AD
accent
#E84061
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C157DB

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

Preview Lab → · Contrast checker → · Palette generator →

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