#C159E7#C159E7

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

Color values

HEX#C159E7
RGBrgb(193, 89, 231)
HSLhsl(284, 75%, 63%)
HSVhsv(284, 61%, 91%)
CMYKcmyk(16.5%, 61.5%, 0%, 9.4%)
CIE-LABlab(56.34, 62.84, -54.35)
CIE-LCHlch(56.34, 83.08, 319.14°)
OKLaboklab(65.07% 0.1572 -0.1523)
OKLCHoklch(65.07% 0.219 315.9)
XYZxyz(39.9863, 24.2531, 78.1608)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159E7 #7FE759
analogous
#7A59E7 #C159E7 #E759C6
triadic
#C159E7 #E7C159 #59E7C1
tetradic
#C159E7 #E77A59 #7FE759 #59C6E7
square
#C159E7 #E77A59 #7FE759 #59C6E7
split-complementary
#C159E7 #C6E759 #59E77A
monochromatic
#8519AD #AD24DF #C159E7 #D58EEF #E9C4F6

Accessibility & contrast

On white

3.59
#C159E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C159E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159E7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159E7#FFFFFF#000000##000000
##C159E71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#598AE4
Tritanopia (blue-blind)
#BF7298
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c159e7;
/* rgb */ color: rgb(193, 89, 231);
/* oklch */ color: oklch(65.1% 0.219 315.9);
Tailwind
colors: {
  custom: {
    50: '#d78eef',
    500: '#c159e7',
    950: '#000000',
  },
}
SCSS
$custom: #c159e7;
$custom-light: #d78eef;
$custom-dark: #000000;
JSON
{
  "hex": "#c159e7",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 283.944,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65065,
    "c": 0.21885,
    "h": 315.9
  },
  "luminance": 0.24252
}

Semantic roles & 50–950 ramp

primary
#C159E7
secondary
#C2E8B4
accent
#D70F44
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C159E7

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

Preview Lab → · Contrast checker → · Palette generator →

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