#C158D9#C158D9

#C158D9 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.1% C 0.207 H 319.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C158D9
RGBrgb(193, 88, 217)
HSLhsl(289, 63%, 60%)
HSVhsv(289, 59%, 85%)
CMYKcmyk(11.1%, 59.4%, 0%, 14.9%)
CIE-LABlab(55.41, 60.56, -47.95)
CIE-LCHlch(55.41, 77.24, 321.63°)
OKLaboklab(64.14% 0.1581 -0.1336)
OKLCHoklch(64.14% 0.207 319.8)
XYZxyz(38.0049, 23.3283, 68.1331)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158D9 #70D958
analogous
#8058D9 #C158D9 #D958B1
triadic
#C158D9 #D9C158 #58D9C1
tetradic
#C158D9 #D98058 #70D958 #58B1D9
square
#C158D9 #D98058 #70D958 #58B1D9
split-complementary
#C158D9 #B1D958 #58D980
monochromatic
#7F2295 #AA2DC7 #C158D9 #D48AE4 #E6BCF0

Accessibility & contrast

On white

3.71
#C158D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C158D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158D9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158D9#FFFFFF#000000##000000
##C158D91.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDD
Deuteranopia (green-blind)
#6288D6
Tritanopia (blue-blind)
#C26C90
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c158d9;
/* rgb */ color: rgb(193, 88, 217);
/* oklch */ color: oklch(64.1% 0.207 319.8);
Tailwind
colors: {
  custom: {
    50: '#d78de5',
    500: '#c158d9',
    950: '#000000',
  },
}
SCSS
$custom: #c158d9;
$custom-light: #d78de5;
$custom-dark: #000000;
JSON
{
  "hex": "#c158d9",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 288.837,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.20699,
    "h": 319.8
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#C158D9
secondary
#B7DFAD
accent
#E64260
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C158D9

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

Preview Lab → · Contrast checker → · Palette generator →

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