#C158DA#C158DA

#C158DA is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.2% C 0.208 H 319.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C158DA
RGBrgb(193, 88, 218)
HSLhsl(288, 64%, 60%)
HSVhsv(288, 60%, 85%)
CMYKcmyk(11.5%, 59.6%, 0%, 14.5%)
CIE-LABlab(55.46, 60.75, -48.43)
CIE-LCHlch(55.46, 77.69, 321.44°)
OKLaboklab(64.2% 0.1581 -0.135)
OKLCHoklch(64.2% 0.208 319.5)
XYZxyz(38.1353, 23.3805, 68.8202)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158DA #71DA58
analogous
#8058DA #C158DA #DA58B2
triadic
#C158DA #DAC158 #58DAC1
tetradic
#C158DA #DA8058 #71DA58 #58B2DA
square
#C158DA #DA8058 #71DA58 #58B2DA
split-complementary
#C158DA #B2DA58 #58DA80
monochromatic
#802196 #AA2CC8 #C158DA #D48AE5 #E6BCF0

Accessibility & contrast

On white

3.70
#C158DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#C158DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158DA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158DA#FFFFFF#000000##000000
##C158DA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#6189D7
Tritanopia (blue-blind)
#C26D91
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c158da;
/* rgb */ color: rgb(193, 88, 218);
/* oklch */ color: oklch(64.2% 0.208 319.5);
Tailwind
colors: {
  custom: {
    50: '#d78de6',
    500: '#c158da',
    950: '#000000',
  },
}
SCSS
$custom: #c158da;
$custom-light: #d78de6;
$custom-dark: #000000;
JSON
{
  "hex": "#c158da",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 288.462,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.64198,
    "c": 0.20793,
    "h": 319.5
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#C158DA
secondary
#B7E0AE
accent
#E74161
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C158DA

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

Preview Lab → · Contrast checker → · Palette generator →

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