#B159CF#B159CF

#B159CF is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.7% C 0.189 H 316.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B159CF
RGBrgb(177, 89, 207)
HSLhsl(285, 55%, 58%)
HSVhsv(285, 57%, 81%)
CMYKcmyk(14.5%, 57%, 0%, 18.8%)
CIE-LABlab(52.95, 54.11, -46.30)
CIE-LCHlch(52.95, 71.22, 319.45°)
OKLaboklab(61.73% 0.1374 -0.1293)
OKLCHoklch(61.73% 0.189 316.7)
XYZxyz(32.9647, 20.9980, 61.3360)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159CF #77CF59
analogous
#7659CF #B159CF #CF59B2
triadic
#B159CF #CFB159 #59CFB1
tetradic
#B159CF #CF7659 #77CF59 #59B2CF
square
#B159CF #CF7659 #77CF59 #59B2CF
split-complementary
#B159CF #B2CF59 #59CF76
monochromatic
#6E2787 #9535B6 #B159CF #C788DD #DEB8EA

Accessibility & contrast

On white

4.04
#B159CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B159CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159CF#FFFFFF#000000##000000
##B159CF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#B06C8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b159cf;
/* rgb */ color: rgb(177, 89, 207);
/* oklch */ color: oklch(61.7% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#cb8cde',
    500: '#b159cf',
    950: '#000000',
  },
}
SCSS
$custom: #b159cf;
$custom-light: #cb8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#b159cf",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 284.746,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.18862,
    "h": 316.7
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#B159CF
secondary
#B6D9AA
accent
#DE496F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B159CF

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

Preview Lab → · Contrast checker → · Palette generator →

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