#C159B2#C159B2

#C159B2 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.3% C 0.171 H 333.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C159B2
RGBrgb(193, 89, 178)
HSLhsl(309, 46%, 55%)
HSVhsv(309, 54%, 76%)
CMYKcmyk(0%, 53.9%, 7.8%, 24.3%)
CIE-LABlab(53.71, 53.08, -28.27)
CIE-LCHlch(53.71, 60.14, 331.96°)
OKLaboklab(62.28% 0.1525 -0.0769)
OKLCHoklch(62.28% 0.171 333.2)
XYZxyz(33.6006, 21.6989, 44.5294)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159B2 #59C168
analogous
#9C59C1 #C159B2 #C1597E
triadic
#C159B2 #B2C159 #59B2C1
tetradic
#C159B2 #C19C59 #59C168 #597EC1
square
#C159B2 #C19C59 #59C168 #597EC1
split-complementary
#C159B2 #7EC159 #59C19C
monochromatic
#742B6A #A13C92 #C159B2 #D286C7 #E2B2DB

Accessibility & contrast

On white

3.93
#C159B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C159B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159B2#FFFFFF#000000##000000
##C159B21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#C9607E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c159b2;
/* rgb */ color: rgb(193, 89, 178);
/* oklch */ color: oklch(62.3% 0.171 333.2);
Tailwind
colors: {
  custom: {
    50: '#d68cc9',
    500: '#c159b2',
    950: '#000000',
  },
}
SCSS
$custom: #c159b2;
$custom-light: #d68cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c159b2",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 308.654,
    "s": 45.614,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.17082,
    "h": 333.2
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#C159B2
secondary
#A5D1AB
accent
#D56553
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C159B2

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

Preview Lab → · Contrast checker → · Palette generator →

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