#C158DB#C158DB

#C158DB is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.209 H 319.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#C158DB
RGBrgb(193, 88, 219)
HSLhsl(288, 65%, 60%)
HSVhsv(288, 60%, 86%)
CMYKcmyk(11.9%, 59.8%, 0%, 14.1%)
CIE-LABlab(55.52, 60.95, -48.91)
CIE-LCHlch(55.52, 78.14, 321.25°)
OKLaboklab(64.25% 0.1582 -0.1364)
OKLCHoklch(64.25% 0.209 319.2)
XYZxyz(38.2666, 23.4330, 69.5114)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158DB #72DB58
analogous
#8058DB #C158DB #DB58B3
triadic
#C158DB #DBC158 #58DBC1
tetradic
#C158DB #DB8058 #72DB58 #58B3DB
square
#C158DB #DB8058 #72DB58 #58B3DB
split-complementary
#C158DB #B3DB58 #58DB80
monochromatic
#802198 #AB2CCA #C158DB #D48AE6 #E6BDF1

Accessibility & contrast

On white

3.69
#C158DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#C158DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158DB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158DB#FFFFFF#000000##000000
##C158DB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#C16D91
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c158db;
/* rgb */ color: rgb(193, 88, 219);
/* oklch */ color: oklch(64.3% 0.209 319.2);
Tailwind
colors: {
  custom: {
    50: '#d78de7',
    500: '#c158db',
    950: '#000000',
  },
}
SCSS
$custom: #c158db;
$custom-light: #d78de7;
$custom-dark: #000000;
JSON
{
  "hex": "#c158db",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 288.092,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64254,
    "c": 0.20886,
    "h": 319.2
  },
  "luminance": 0.23431
}

Semantic roles & 50–950 ramp

primary
#C158DB
secondary
#B8E1AE
accent
#CC193D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C158DB

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

Preview Lab → · Contrast checker → · Palette generator →

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