#B159E5#B159E5

#B159E5 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.211 H 310.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B159E5
RGBrgb(177, 89, 229)
HSLhsl(278, 73%, 62%)
HSVhsv(278, 61%, 90%)
CMYKcmyk(22.7%, 61.1%, 0%, 10.2%)
CIE-LABlab(54.19, 58.72, -56.79)
CIE-LCHlch(54.19, 81.69, 315.96°)
OKLaboklab(63.03% 0.1377 -0.1599)
OKLCHoklch(63.03% 0.211 310.7)
XYZxyz(35.8440, 22.1498, 76.5007)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E5 #8DE559
analogous
#6B59E5 #B159E5 #E559D3
triadic
#B159E5 #E5B159 #59E5B1
tetradic
#B159E5 #E56B59 #8DE559 #59D3E5
square
#B159E5 #E56B59 #8DE559 #59D3E5
split-complementary
#B159E5 #D3E559 #59E56B
monochromatic
#741AA9 #9824DD #B159E5 #CA8EED #E3C3F6

Accessibility & contrast

On white

3.87
#B159E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B159E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E5#FFFFFF#000000##000000
##B159E51.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7DE9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#AA7497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b159e5;
/* rgb */ color: rgb(177, 89, 229);
/* oklch */ color: oklch(63.0% 0.211 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc8cee',
    500: '#b159e5',
    950: '#000000',
  },
}
SCSS
$custom: #b159e5;
$custom-light: #cc8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e5",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 277.714,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.21104,
    "h": 310.7
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#B159E5
secondary
#C6E6B3
accent
#D51059
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159E5

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

Preview Lab → · Contrast checker → · Palette generator →

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