#B159E9#B159E9

#B159E9 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.215 H 309.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B159E9
RGBrgb(177, 89, 233)
HSLhsl(277, 77%, 63%)
HSVhsv(277, 62%, 91%)
CMYKcmyk(24%, 61.8%, 0%, 8.6%)
CIE-LABlab(54.42, 59.58, -58.66)
CIE-LCHlch(54.42, 83.61, 315.45°)
OKLaboklab(63.28% 0.1376 -0.1654)
OKLCHoklch(63.28% 0.215 309.8)
XYZxyz(36.4090, 22.3758, 79.4759)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E9 #91E959
analogous
#6959E9 #B159E9 #E959D9
triadic
#B159E9 #E9B159 #59E9B1
tetradic
#B159E9 #E96959 #91E959 #59D9E9
square
#B159E9 #E96959 #91E959 #59D9E9
split-complementary
#B159E9 #D9E959 #59E969
monochromatic
#7517B0 #9823E2 #B159E9 #CA8FF0 #E4C5F7

Accessibility & contrast

On white

3.84
#B159E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B159E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E9#FFFFFF#000000##000000
##B159E91.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EED
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#A97599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b159e9;
/* rgb */ color: rgb(177, 89, 233);
/* oklch */ color: oklch(63.3% 0.215 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc8df1',
    500: '#b159e9',
    950: '#000000',
  },
}
SCSS
$custom: #b159e9;
$custom-light: #cc8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e9",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 276.667,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63281,
    "c": 0.21515,
    "h": 309.8
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

primary
#B159E9
secondary
#C9E9B5
accent
#D90D5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B159E9

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

Preview Lab → · Contrast checker → · Palette generator →

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