#B159CD#B159CD

#B159CD is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.187 H 317.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B159CD
RGBrgb(177, 89, 205)
HSLhsl(286, 54%, 58%)
HSVhsv(286, 57%, 80%)
CMYKcmyk(13.7%, 56.6%, 0%, 19.6%)
CIE-LABlab(52.84, 53.70, -45.33)
CIE-LCHlch(52.84, 70.28, 319.83°)
OKLaboklab(61.62% 0.1373 -0.1264)
OKLCHoklch(61.62% 0.187 317.3)
XYZxyz(32.7217, 20.9008, 60.0564)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159CD #75CD59
analogous
#7759CD #B159CD #CD59AF
triadic
#B159CD #CDB159 #59CDB1
tetradic
#B159CD #CD7759 #75CD59 #59AFCD
square
#B159CD #CD7759 #75CD59 #59AFCD
split-complementary
#B159CD #AFCD59 #59CD77
monochromatic
#6E2884 #9536B3 #B159CD #C788DB #DDB7E9

Accessibility & contrast

On white

4.05
#B159CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B159CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159CD#FFFFFF#000000##000000
##B159CD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B06C8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b159cd;
/* rgb */ color: rgb(177, 89, 205);
/* oklch */ color: oklch(61.6% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb8cdd',
    500: '#b159cd',
    950: '#000000',
  },
}
SCSS
$custom: #b159cd;
$custom-light: #cb8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b159cd",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 285.517,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.18661,
    "h": 317.3
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#B159CD
secondary
#B5D8AA
accent
#DD4B6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B159CD

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

Preview Lab → · Contrast checker → · Palette generator →

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