#C159E8#C159E8

#C159E8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.220 H 315.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C159E8
RGBrgb(193, 89, 232)
HSLhsl(284, 76%, 63%)
HSVhsv(284, 62%, 91%)
CMYKcmyk(16.8%, 61.6%, 0%, 9%)
CIE-LABlab(56.40, 63.04, -54.82)
CIE-LCHlch(56.40, 83.54, 318.99°)
OKLaboklab(65.12% 0.1571 -0.1537)
OKLCHoklch(65.12% 0.22 315.6)
XYZxyz(40.1279, 24.3098, 78.9067)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159E8 #80E859
analogous
#7959E8 #C159E8 #E859C8
triadic
#C159E8 #E8C159 #59E8C1
tetradic
#C159E8 #E87959 #80E859 #59C8E8
square
#C159E8 #E87959 #80E859 #59C8E8
split-complementary
#C159E8 #C8E859 #59E879
monochromatic
#8518AE #AD23E1 #C159E8 #D58FEF #E9C5F7

Accessibility & contrast

On white

3.58
#C159E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C159E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159E8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159E8#FFFFFF#000000##000000
##C159E81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#BE7399
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c159e8;
/* rgb */ color: rgb(193, 89, 232);
/* oklch */ color: oklch(65.1% 0.220 315.6);
Tailwind
colors: {
  custom: {
    50: '#d78ef0',
    500: '#c159e8',
    950: '#000000',
  },
}
SCSS
$custom: #c159e8;
$custom-light: #d78ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#c159e8",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 283.636,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65124,
    "c": 0.21981,
    "h": 315.6
  },
  "luminance": 0.24308
}

Semantic roles & 50–950 ramp

primary
#C159E8
secondary
#C3E8B5
accent
#D80E45
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C159E8

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

Preview Lab → · Contrast checker → · Palette generator →

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