#C158CE#C158CE

#C158CE is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.5% C 0.197 H 323.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C158CE
RGBrgb(193, 88, 206)
HSLhsl(293, 55%, 58%)
HSVhsv(293, 57%, 81%)
CMYKcmyk(6.3%, 57.3%, 0%, 19.2%)
CIE-LABlab(54.84, 58.49, -42.60)
CIE-LCHlch(54.84, 72.36, 323.93°)
OKLaboklab(63.54% 0.1574 -0.1181)
OKLCHoklch(63.54% 0.197 323.1)
XYZxyz(36.6215, 22.7750, 60.8476)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158CE #65CE58
analogous
#8658CE #C158CE #CE58A0
triadic
#C158CE #CEC158 #58CEC1
tetradic
#C158CE #CE8658 #65CE58 #58A0CE
square
#C158CE #CE8658 #65CE58 #58A0CE
split-complementary
#C158CE #A0CE58 #58CE86
monochromatic
#7A2785 #A635B4 #C158CE #D387DC #E4B7EA

Accessibility & contrast

On white

3.78
#C158CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#C158CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158CE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158CE#FFFFFF#000000##000000
##C158CE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#6888CB
Tritanopia (blue-blind)
#C4698B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c158ce;
/* rgb */ color: rgb(193, 88, 206);
/* oklch */ color: oklch(63.5% 0.197 323.1);
Tailwind
colors: {
  custom: {
    50: '#d68ddd',
    500: '#c158ce',
    950: '#000000',
  },
}
SCSS
$custom: #c158ce;
$custom-light: #d68ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#c158ce",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 293.39,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.19681,
    "h": 323.1
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#C158CE
secondary
#AED9A9
accent
#DE4A5A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #C158CE

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

Preview Lab → · Contrast checker → · Palette generator →

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