#C158FF#C158FF

#C158FF is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.4% C 0.243 H 310.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#C158FF
RGBrgb(193, 88, 255)
HSLhsl(278, 100%, 67%)
HSVhsv(278, 65%, 100%)
CMYKcmyk(24.3%, 65.5%, 0%, 0%)
CIE-LABlab(57.60, 68.18, -65.70)
CIE-LCHlch(57.60, 94.69, 316.06°)
OKLaboklab(66.43% 0.1573 -0.1856)
OKLCHoklch(66.43% 0.243 310.3)
XYZxyz(43.5286, 25.5378, 97.2246)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158FF #96FF58
analogous
#6E58FF #C158FF #FF58E9
triadic
#C158FF #FFC158 #58FFC1
tetradic
#C158FF #FF6E58 #96FF58 #58E9FF
square
#C158FF #FF6E58 #96FF58 #58E9FF
split-complementary
#C158FF #E9FF58 #58FF6E
monochromatic
#8B00DD #AA1BFF #C158FF #D895FF #EED2FF

Accessibility & contrast

On white

3.44
#C158FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#C158FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158FF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158FF#FFFFFF#000000##000000
##C158FF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#B97BA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c158ff;
/* rgb */ color: rgb(193, 88, 255);
/* oklch */ color: oklch(66.4% 0.243 310.3);
Tailwind
colors: {
  custom: {
    50: '#d88eff',
    500: '#c158ff',
    950: '#000000',
  },
}
SCSS
$custom: #c158ff;
$custom-light: #d88eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c158ff",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 277.725,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66425,
    "c": 0.24329,
    "h": 310.3
  },
  "luminance": 0.25537
}

Semantic roles & 50–950 ramp

primary
#C158FF
secondary
#D3F4BF
accent
#E60055
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C158FF

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

Preview Lab → · Contrast checker → · Palette generator →

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