#B159E6#B159E6

#B159E6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.1% C 0.212 H 310.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B159E6
RGBrgb(177, 89, 230)
HSLhsl(277, 74%, 63%)
HSVhsv(277, 61%, 90%)
CMYKcmyk(23%, 61.3%, 0%, 9.8%)
CIE-LABlab(54.24, 58.93, -57.26)
CIE-LCHlch(54.24, 82.17, 315.83°)
OKLaboklab(63.09% 0.1377 -0.1613)
OKLCHoklch(63.09% 0.212 310.5)
XYZxyz(35.9841, 22.2058, 77.2381)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E6 #8EE659
analogous
#6B59E6 #B159E6 #E659D4
triadic
#B159E6 #E6B159 #59E6B1
tetradic
#B159E6 #E66B59 #8EE659 #59D4E6
square
#B159E6 #E66B59 #8EE659 #59D4E6
split-complementary
#B159E6 #D4E659 #59E66B
monochromatic
#741AAB #9824DE #B159E6 #CA8EEE #E3C3F6

Accessibility & contrast

On white

3.86
#B159E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B159E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E6#FFFFFF#000000##000000
##B159E61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEA
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#AA7497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b159e6;
/* rgb */ color: rgb(177, 89, 230);
/* oklch */ color: oklch(63.1% 0.212 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc8cef',
    500: '#b159e6',
    950: '#000000',
  },
}
SCSS
$custom: #b159e6;
$custom-light: #cc8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e6",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 277.447,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.21207,
    "h": 310.5
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#B159E6
secondary
#C7E7B4
accent
#D6105A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159E6

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

Preview Lab → · Contrast checker → · Palette generator →

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