#C158BF#C158BF

#C158BF is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.8% C 0.183 H 328.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C158BF
RGBrgb(193, 88, 191)
HSLhsl(301, 46%, 55%)
HSVhsv(301, 54%, 76%)
CMYKcmyk(0%, 54.4%, 1%, 24.3%)
CIE-LABlab(54.11, 55.78, -35.15)
CIE-LCHlch(54.11, 65.93, 327.78°)
OKLaboklab(62.77% 0.1559 -0.0966)
OKLCHoklch(62.77% 0.183 328.2)
XYZxyz(34.8855, 22.0806, 51.7046)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158BF #58C15A
analogous
#8F58C1 #C158BF #C1588A
triadic
#C158BF #BFC158 #58BFC1
tetradic
#C158BF #C18F58 #58C15A #588AC1
square
#C158BF #C18F58 #58C15A #588AC1
split-complementary
#C158BF #8AC158 #58C18F
monochromatic
#742B72 #A03C9E #C158BF #D285D0 #E2B1E1

Accessibility & contrast

On white

3.88
#C158BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C158BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158BF#FFFFFF#000000##000000
##C158BF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C2
Deuteranopia (green-blind)
#7086BC
Tritanopia (blue-blind)
#C76383
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c158bf;
/* rgb */ color: rgb(193, 88, 191);
/* oklch */ color: oklch(62.8% 0.183 328.2);
Tailwind
colors: {
  custom: {
    50: '#d68cd2',
    500: '#c158bf',
    950: '#000000',
  },
}
SCSS
$custom: #c158bf;
$custom-light: #d68cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c158bf",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 301.143,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.18339,
    "h": 328.2
  },
  "luminance": 0.22078
}

Semantic roles & 50–950 ramp

primary
#C158BF
secondary
#A4D0A5
accent
#D65552
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C158BF

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

Preview Lab → · Contrast checker → · Palette generator →

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