#C159D2#C159D2

#C159D2 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.199 H 321.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#C159D2
RGBrgb(193, 89, 210)
HSLhsl(292, 57%, 59%)
HSVhsv(292, 58%, 82%)
CMYKcmyk(8.1%, 57.6%, 0%, 17.6%)
CIE-LABlab(55.21, 58.77, -44.29)
CIE-LCHlch(55.21, 73.59, 323.00°)
OKLaboklab(63.88% 0.1565 -0.123)
OKLCHoklch(63.88% 0.199 321.8)
XYZxyz(37.1963, 23.1372, 63.4669)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159D2 #6AD259
analogous
#8459D2 #C159D2 #D259A6
triadic
#C159D2 #D2C159 #59D2C1
tetradic
#C159D2 #D28459 #6AD259 #59A6D2
square
#C159D2 #D28459 #6AD259 #59A6D2
split-complementary
#C159D2 #A6D259 #59D284
monochromatic
#7D268B #A833BB #C159D2 #D389DF #E5B9EC

Accessibility & contrast

On white

3.73
#C159D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#C159D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159D2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159D2#FFFFFF#000000##000000
##C159D21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#6788CF
Tritanopia (blue-blind)
#C36B8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c159d2;
/* rgb */ color: rgb(193, 89, 210);
/* oklch */ color: oklch(63.9% 0.199 321.8);
Tailwind
colors: {
  custom: {
    50: '#d68de0',
    500: '#c159d2',
    950: '#000000',
  },
}
SCSS
$custom: #c159d2;
$custom-light: #d68de0;
$custom-dark: #000000;
JSON
{
  "hex": "#c159d2",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 291.57,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63881,
    "c": 0.19902,
    "h": 321.8
  },
  "luminance": 0.23135
}

Semantic roles & 50–950 ramp

primary
#C159D2
secondary
#B2DBAB
accent
#E1475D
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #C159D2

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

Preview Lab → · Contrast checker → · Palette generator →

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