#C159EA#C159EA

#C159EA is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.2% C 0.222 H 315.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C159EA
RGBrgb(193, 89, 234)
HSLhsl(283, 78%, 63%)
HSVhsv(283, 62%, 92%)
CMYKcmyk(17.5%, 62%, 0%, 8.2%)
CIE-LABlab(56.51, 63.44, -55.76)
CIE-LCHlch(56.51, 84.46, 318.68°)
OKLaboklab(65.24% 0.1571 -0.1564)
OKLCHoklch(65.24% 0.222 315.1)
XYZxyz(40.4136, 24.4241, 80.4114)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159EA #82EA59
analogous
#7859EA #C159EA #EA59CB
triadic
#C159EA #EAC159 #59EAC1
tetradic
#C159EA #EA7859 #82EA59 #59CBEA
square
#C159EA #EA7859 #82EA59 #59CBEA
split-complementary
#C159EA #CBEA59 #59EA78
monochromatic
#8617B2 #AD23E3 #C159EA #D58FF1 #EAC6F8

Accessibility & contrast

On white

3.57
#C159EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C159EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159EA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159EA#FFFFFF#000000##000000
##C159EA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481EE
Deuteranopia (green-blind)
#578AE6
Tritanopia (blue-blind)
#BE739A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c159ea;
/* rgb */ color: rgb(193, 89, 234);
/* oklch */ color: oklch(65.2% 0.222 315.1);
Tailwind
colors: {
  custom: {
    50: '#d78ef1',
    500: '#c159ea',
    950: '#000000',
  },
}
SCSS
$custom: #c159ea;
$custom-light: #d78ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c159ea",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 283.034,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65242,
    "c": 0.22173,
    "h": 315.1
  },
  "luminance": 0.24423
}

Semantic roles & 50–950 ramp

primary
#C159EA
secondary
#C4E9B6
accent
#DA0C46
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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