#C158F1#C158F1

#C158F1 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.230 H 313.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#C158F1
RGBrgb(193, 88, 241)
HSLhsl(281, 85%, 65%)
HSVhsv(281, 63%, 95%)
CMYKcmyk(19.9%, 63.5%, 0%, 5.5%)
CIE-LABlab(56.75, 65.30, -59.29)
CIE-LCHlch(56.75, 88.20, 317.76°)
OKLaboklab(65.55% 0.1581 -0.1668)
OKLCHoklch(65.55% 0.23 313.5)
XYZxyz(41.3565, 24.6690, 85.7851)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158F1 #88F158
analogous
#7458F1 #C158F1 #F158D5
triadic
#C158F1 #F1C158 #58F1C1
tetradic
#C158F1 #F17458 #88F158 #58D5F1
square
#C158F1 #F17458 #88F158 #58D5F1
split-complementary
#C158F1 #D5F158 #58F174
monochromatic
#8810BF #AC20EC #C158F1 #D690F6 #EBC9FA

Accessibility & contrast

On white

3.54
#C158F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#C158F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158F1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158F1#FFFFFF#000000##000000
##C158F11.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C82F6
Deuteranopia (green-blind)
#508BED
Tritanopia (blue-blind)
#BC759D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c158f1;
/* rgb */ color: rgb(193, 88, 241);
/* oklch */ color: oklch(65.5% 0.230 313.5);
Tailwind
colors: {
  custom: {
    50: '#d88df6',
    500: '#c158f1',
    950: '#000000',
  },
}
SCSS
$custom: #c158f1;
$custom-light: #d88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#c158f1",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 281.176,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65547,
    "c": 0.2298,
    "h": 313.5
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#C158F1
secondary
#C9EDB8
accent
#E1054A
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C158F1

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

Preview Lab → · Contrast checker → · Palette generator →

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