#C159E3#C159E3

#C159E3 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.215 H 316.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C159E3
RGBrgb(193, 89, 227)
HSLhsl(285, 71%, 62%)
HSVhsv(285, 61%, 89%)
CMYKcmyk(15%, 60.8%, 0%, 11%)
CIE-LABlab(56.12, 62.05, -52.46)
CIE-LCHlch(56.12, 81.25, 319.79°)
OKLaboklab(64.83% 0.1571 -0.1468)
OKLCHoklch(64.83% 0.215 316.9)
XYZxyz(39.4278, 24.0298, 75.2195)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159E3 #7BE359
analogous
#7C59E3 #C159E3 #E359C0
triadic
#C159E3 #E3C159 #59E3C1
tetradic
#C159E3 #E37C59 #7BE359 #59C0E3
square
#C159E3 #E37C59 #7BE359 #59C0E3
split-complementary
#C159E3 #C0E359 #59E37C
monochromatic
#841CA6 #AD25DA #C159E3 #D58DEC #E8C2F5

Accessibility & contrast

On white

3.62
#C159E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C159E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159E3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159E3#FFFFFF#000000##000000
##C159E31.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E7
Deuteranopia (green-blind)
#5C8AE0
Tritanopia (blue-blind)
#C07196
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c159e3;
/* rgb */ color: rgb(193, 89, 227);
/* oklch */ color: oklch(64.8% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#d78eec',
    500: '#c159e3',
    950: '#000000',
  },
}
SCSS
$custom: #c159e3;
$custom-light: #d78eec;
$custom-dark: #000000;
JSON
{
  "hex": "#c159e3",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 285.217,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.21504,
    "h": 316.9
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#C159E3
secondary
#BFE5B2
accent
#D31242
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C159E3

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

Preview Lab → · Contrast checker → · Palette generator →

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