#C158F3#C158F3

#C158F3 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.232 H 313.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C158F3
RGBrgb(193, 88, 243)
HSLhsl(281, 87%, 65%)
HSVhsv(281, 64%, 95%)
CMYKcmyk(20.6%, 63.8%, 0%, 4.7%)
CIE-LABlab(56.87, 65.71, -60.21)
CIE-LCHlch(56.87, 89.12, 317.50°)
OKLaboklab(65.67% 0.158 -0.1695)
OKLCHoklch(65.67% 0.232 313)
XYZxyz(41.6569, 24.7891, 87.3670)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158F3 #8AF358
analogous
#7358F3 #C158F3 #F358D8
triadic
#C158F3 #F3C158 #58F3C1
tetradic
#C158F3 #F37358 #8AF358 #58D8F3
square
#C158F3 #F37358 #8AF358 #58D8F3
split-complementary
#C158F3 #D8F358 #58F373
monochromatic
#880EC3 #AC1FEF #C158F3 #D691F7 #EBCAFB

Accessibility & contrast

On white

3.52
#C158F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#C158F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158F3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158F3#FFFFFF#000000##000000
##C158F31.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0183F8
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#BC769E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c158f3;
/* rgb */ color: rgb(193, 88, 243);
/* oklch */ color: oklch(65.7% 0.232 313.0);
Tailwind
colors: {
  custom: {
    50: '#d88df8',
    500: '#c158f3',
    950: '#000000',
  },
}
SCSS
$custom: #c158f3;
$custom-light: #d88df8;
$custom-dark: #000000;
JSON
{
  "hex": "#c158f3",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 280.645,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6567,
    "c": 0.23172,
    "h": 313
  },
  "luminance": 0.24788
}

Semantic roles & 50–950 ramp

primary
#C158F3
secondary
#CAEEB9
accent
#E3024B
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C158F3

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

Preview Lab → · Contrast checker → · Palette generator →

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