#C158E2#C158E2

#C158E2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.215 H 317.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C158E2
RGBrgb(193, 88, 226)
HSLhsl(286, 70%, 62%)
HSVhsv(286, 61%, 89%)
CMYKcmyk(14.6%, 61.1%, 0%, 11.4%)
CIE-LABlab(55.90, 62.30, -52.25)
CIE-LCHlch(55.90, 81.31, 320.02°)
OKLaboklab(64.65% 0.1583 -0.1462)
OKLCHoklch(64.65% 0.215 317.3)
XYZxyz(39.2075, 23.8094, 74.4671)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158E2 #79E258
analogous
#7C58E2 #C158E2 #E258BE
triadic
#C158E2 #E2C158 #58E2C1
tetradic
#C158E2 #E27C58 #79E258 #58BEE2
square
#C158E2 #E27C58 #79E258 #58BEE2
split-complementary
#C158E2 #BEE258 #58E27C
monochromatic
#831CA3 #AD25D7 #C158E2 #D48CEB #E8C0F4

Accessibility & contrast

On white

3.64
#C158E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C158E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158E2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158E2#FFFFFF#000000##000000
##C158E21.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#5C89DF
Tritanopia (blue-blind)
#C07095
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c158e2;
/* rgb */ color: rgb(193, 88, 226);
/* oklch */ color: oklch(64.7% 0.215 317.3);
Tailwind
colors: {
  custom: {
    50: '#d78dec',
    500: '#c158e2',
    950: '#000000',
  },
}
SCSS
$custom: #c158e2;
$custom-light: #d78dec;
$custom-dark: #000000;
JSON
{
  "hex": "#c158e2",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 285.652,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64653,
    "c": 0.21547,
    "h": 317.3
  },
  "luminance": 0.23808
}

Semantic roles & 50–950 ramp

primary
#C158E2
secondary
#BEE5B1
accent
#D21341
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C158E2

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

Preview Lab → · Contrast checker → · Palette generator →

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