#B159C9#B159C9

#B159C9 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.4% C 0.183 H 318.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B159C9
RGBrgb(177, 89, 201)
HSLhsl(287, 51%, 57%)
HSVhsv(287, 56%, 79%)
CMYKcmyk(11.9%, 55.7%, 0%, 21.2%)
CIE-LABlab(52.63, 52.90, -43.37)
CIE-LCHlch(52.63, 68.41, 320.65°)
OKLaboklab(61.4% 0.137 -0.1207)
OKLCHoklch(61.4% 0.183 318.6)
XYZxyz(32.2450, 20.7102, 57.5460)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159C9 #71C959
analogous
#7959C9 #B159C9 #C959A9
triadic
#B159C9 #C9B159 #59C9B1
tetradic
#B159C9 #C97959 #71C959 #59A9C9
square
#B159C9 #C97959 #71C959 #59A9C9
split-complementary
#B159C9 #A9C959 #59C979
monochromatic
#6C297E #9438AD #B159C9 #C787D8 #DCB5E7

Accessibility & contrast

On white

4.08
#B159C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B159C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159C9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159C9#FFFFFF#000000##000000
##B159C91.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CD
Deuteranopia (green-blind)
#5F81C6
Tritanopia (blue-blind)
#B16A89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b159c9;
/* rgb */ color: rgb(177, 89, 201);
/* oklch */ color: oklch(61.4% 0.183 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb8cda',
    500: '#b159c9',
    950: '#000000',
  },
}
SCSS
$custom: #b159c9;
$custom-light: #cb8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b159c9",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 201
  },
  "hsl": {
    "h": 287.143,
    "s": 50.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61397,
    "c": 0.1826,
    "h": 318.6
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#B159C9
secondary
#B2D6A8
accent
#DA4D6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B159C9

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

Preview Lab → · Contrast checker → · Palette generator →

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