#C158D2#C158D2

#C158D2 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 63.8% C 0.200 H 321.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#C158D2
RGBrgb(193, 88, 210)
HSLhsl(292, 58%, 58%)
HSVhsv(292, 58%, 82%)
CMYKcmyk(8.1%, 58.1%, 0%, 17.6%)
CIE-LABlab(55.04, 59.23, -44.55)
CIE-LCHlch(55.04, 74.12, 323.05°)
OKLaboklab(63.76% 0.1577 -0.1238)
OKLCHoklch(63.76% 0.2 321.9)
XYZxyz(37.1136, 22.9719, 63.4394)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158D2 #69D258
analogous
#8458D2 #C158D2 #D258A6
triadic
#C158D2 #D2C158 #58D2C1
tetradic
#C158D2 #D28458 #69D258 #58A6D2
square
#C158D2 #D28458 #69D258 #58A6D2
split-complementary
#C158D2 #A6D258 #58D284
monochromatic
#7C258A #A832BB #C158D2 #D388DF #E5B8EC

Accessibility & contrast

On white

3.75
#C158D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#C158D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158D2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158D2#FFFFFF#000000##000000
##C158D21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#6688CF
Tritanopia (blue-blind)
#C36A8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c158d2;
/* rgb */ color: rgb(193, 88, 210);
/* oklch */ color: oklch(63.8% 0.200 321.9);
Tailwind
colors: {
  custom: {
    50: '#d78de0',
    500: '#c158d2',
    950: '#000000',
  },
}
SCSS
$custom: #c158d2;
$custom-light: #d78de0;
$custom-dark: #000000;
JSON
{
  "hex": "#c158d2",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 291.639,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63757,
    "c": 0.20048,
    "h": 321.9
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#C158D2
secondary
#B1DBAB
accent
#E1475C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #C158D2

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

Preview Lab → · Contrast checker → · Palette generator →

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