#B159C8#B159C8

#B159C8 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.3% C 0.182 H 318.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B159C8
RGBrgb(177, 89, 200)
HSLhsl(288, 50%, 57%)
HSVhsv(288, 56%, 78%)
CMYKcmyk(11.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(52.58, 52.70, -42.88)
CIE-LCHlch(52.58, 67.94, 320.86°)
OKLaboklab(61.34% 0.1369 -0.1193)
OKLCHoklch(61.34% 0.182 318.9)
XYZxyz(32.1278, 20.6633, 56.9284)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159C8 #70C859
analogous
#7A59C8 #B159C8 #C859A7
triadic
#B159C8 #C8B159 #59C8B1
tetradic
#B159C8 #C87A59 #70C859 #59A7C8
square
#B159C8 #C87A59 #70C859 #59A7C8
split-complementary
#B159C8 #A7C859 #59C87A
monochromatic
#6C297D #9339AB #B159C8 #C787D7 #DCB5E6

Accessibility & contrast

On white

4.09
#B159C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B159C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159C8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159C8#FFFFFF#000000##000000
##B159C81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#B16A88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b159c8;
/* rgb */ color: rgb(177, 89, 200);
/* oklch */ color: oklch(61.3% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#cb8cd9',
    500: '#b159c8',
    950: '#000000',
  },
}
SCSS
$custom: #b159c8;
$custom-light: #cb8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b159c8",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 287.568,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.18161,
    "h": 318.9
  },
  "luminance": 0.20662
}

Semantic roles & 50–950 ramp

primary
#B159C8
secondary
#B1D5A8
accent
#DA4E6B
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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