#C157EE#C157EE

#C157EE is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.228 H 314.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#C157EE
RGBrgb(193, 87, 238)
HSLhsl(282, 82%, 64%)
HSVhsv(282, 63%, 93%)
CMYKcmyk(18.9%, 63.4%, 0%, 6.7%)
CIE-LABlab(56.41, 65.14, -58.15)
CIE-LCHlch(56.41, 87.32, 318.24°)
OKLaboklab(65.25% 0.1593 -0.1634)
OKLCHoklch(65.25% 0.228 314.3)
XYZxyz(40.8306, 24.3282, 83.4173)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157EE #84EE57
analogous
#7557EE #C157EE #EE57D0
triadic
#C157EE #EEC157 #57EEC1
tetradic
#C157EE #EE7557 #84EE57 #57D0EE
square
#C157EE #EE7557 #84EE57 #57D0EE
split-complementary
#C157EE #D0EE57 #57EE75
monochromatic
#8713B8 #AC1FE8 #C157EE #D68FF4 #EAC6F9

Accessibility & contrast

On white

3.58
#C157EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#C157EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157EE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157EE#FFFFFF#000000##000000
##C157EE1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F3
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#BD749B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c157ee;
/* rgb */ color: rgb(193, 87, 238);
/* oklch */ color: oklch(65.2% 0.228 314.3);
Tailwind
colors: {
  custom: {
    50: '#d78df4',
    500: '#c157ee',
    950: '#000000',
  },
}
SCSS
$custom: #c157ee;
$custom-light: #d78df4;
$custom-dark: #000000;
JSON
{
  "hex": "#c157ee",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 282.119,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.22824,
    "h": 314.3
  },
  "luminance": 0.24327
}

Semantic roles & 50–950 ramp

primary
#C157EE
secondary
#C6EBB6
accent
#DE0847
background
#FDF9FF
surface
#FBF1FE
border
#D4CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C157EE

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

Preview Lab → · Contrast checker → · Palette generator →

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