#C158E8#C158E8

#C158E8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.221 H 315.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C158E8
RGBrgb(193, 88, 232)
HSLhsl(284, 76%, 63%)
HSVhsv(284, 62%, 91%)
CMYKcmyk(16.8%, 62.1%, 0%, 9%)
CIE-LABlab(56.23, 63.49, -55.09)
CIE-LCHlch(56.23, 84.06, 319.05°)
OKLaboklab(65.01% 0.1583 -0.1545)
OKLCHoklch(65.01% 0.221 315.7)
XYZxyz(40.0453, 24.1445, 78.8792)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158E8 #7FE858
analogous
#7958E8 #C158E8 #E858C7
triadic
#C158E8 #E8C158 #58E8C1
tetradic
#C158E8 #E87958 #7FE858 #58C7E8
square
#C158E8 #E87958 #7FE858 #58C7E8
split-complementary
#C158E8 #C7E858 #58E879
monochromatic
#8518AE #AD22E1 #C158E8 #D58EEF #E9C4F7

Accessibility & contrast

On white

3.60
#C158E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#C158E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158E8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158E8#FFFFFF#000000##000000
##C158E81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581EC
Deuteranopia (green-blind)
#578AE5
Tritanopia (blue-blind)
#BE7298
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c158e8;
/* rgb */ color: rgb(193, 88, 232);
/* oklch */ color: oklch(65.0% 0.221 315.7);
Tailwind
colors: {
  custom: {
    50: '#d78df0',
    500: '#c158e8',
    950: '#000000',
  },
}
SCSS
$custom: #c158e8;
$custom-light: #d78df0;
$custom-dark: #000000;
JSON
{
  "hex": "#c158e8",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 283.75,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.22118,
    "h": 315.7
  },
  "luminance": 0.24143
}

Semantic roles & 50–950 ramp

primary
#C158E8
secondary
#C2E8B4
accent
#D80E44
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C158E8

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

Preview Lab → · Contrast checker → · Palette generator →

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