#C158CF#C158CF

#C158CF is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.6% C 0.198 H 322.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C158CF
RGBrgb(193, 88, 207)
HSLhsl(293, 55%, 58%)
HSVhsv(293, 57%, 81%)
CMYKcmyk(6.8%, 57.5%, 0%, 18.8%)
CIE-LABlab(54.89, 58.67, -43.09)
CIE-LCHlch(54.89, 72.80, 323.71°)
OKLaboklab(63.6% 0.1575 -0.1195)
OKLCHoklch(63.6% 0.198 322.8)
XYZxyz(36.7434, 22.8238, 61.4894)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158CF #66CF58
analogous
#8558CF #C158CF #CF58A2
triadic
#C158CF #CFC158 #58CFC1
tetradic
#C158CF #CF8558 #66CF58 #58A2CF
square
#C158CF #CF8558 #66CF58 #58A2CF
split-complementary
#C158CF #A2CF58 #58CF85
monochromatic
#7B2786 #A634B6 #C158CF #D388DD #E4B7EA

Accessibility & contrast

On white

3.77
#C158CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C158CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158CF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158CF#FFFFFF#000000##000000
##C158CF1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#C4698B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c158cf;
/* rgb */ color: rgb(193, 88, 207);
/* oklch */ color: oklch(63.6% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#d68dde',
    500: '#c158cf',
    950: '#000000',
  },
}
SCSS
$custom: #c158cf;
$custom-light: #d68dde;
$custom-dark: #000000;
JSON
{
  "hex": "#c158cf",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 292.941,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.19773,
    "h": 322.8
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#C158CF
secondary
#AFD9AA
accent
#DF495B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #C158CF

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

Preview Lab → · Contrast checker → · Palette generator →

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