#C158CB#C158CB

#C158CB is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.194 H 324.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C158CB
RGBrgb(193, 88, 203)
HSLhsl(295, 53%, 57%)
HSVhsv(295, 57%, 80%)
CMYKcmyk(4.9%, 56.7%, 0%, 20.4%)
CIE-LABlab(54.69, 57.94, -41.12)
CIE-LCHlch(54.69, 71.05, 324.63°)
OKLaboklab(63.38% 0.1572 -0.1138)
OKLCHoklch(63.38% 0.194 324.1)
XYZxyz(36.2606, 22.6306, 58.9465)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158CB #62CB58
analogous
#8858CB #C158CB #CB589B
triadic
#C158CB #CBC158 #58CBC1
tetradic
#C158CB #CB8858 #62CB58 #589BCB
square
#C158CB #CB8858 #62CB58 #589BCB
split-complementary
#C158CB #9BCB58 #58CB88
monochromatic
#792881 #A537AF #C158CB #D287DA #E4B5E8

Accessibility & contrast

On white

3.80
#C158CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C158CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158CB#FFFFFF#000000##000000
##C158CB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#C56889
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c158cb;
/* rgb */ color: rgb(193, 88, 203);
/* oklch */ color: oklch(63.4% 0.194 324.1);
Tailwind
colors: {
  custom: {
    50: '#d68cdb',
    500: '#c158cb',
    950: '#000000',
  },
}
SCSS
$custom: #c158cb;
$custom-light: #d68cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c158cb",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 294.783,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63384,
    "c": 0.19407,
    "h": 324.1
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#C158CB
secondary
#ACD7A8
accent
#DC4C58
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C158CB

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

Preview Lab → · Contrast checker → · Palette generator →

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