#B159E8#B159E8

#B159E8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.2% C 0.214 H 310.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B159E8
RGBrgb(177, 89, 232)
HSLhsl(277, 76%, 63%)
HSVhsv(277, 62%, 91%)
CMYKcmyk(23.7%, 61.6%, 0%, 9%)
CIE-LABlab(54.36, 59.36, -58.19)
CIE-LCHlch(54.36, 83.13, 315.57°)
OKLaboklab(63.22% 0.1376 -0.164)
OKLCHoklch(63.22% 0.214 310)
XYZxyz(36.2665, 22.3188, 78.7257)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E8 #90E859
analogous
#6959E8 #B159E8 #E859D7
triadic
#B159E8 #E8B159 #59E8B1
tetradic
#B159E8 #E86959 #90E859 #59D7E8
square
#B159E8 #E86959 #90E859 #59D7E8
split-complementary
#B159E8 #D7E859 #59E869
monochromatic
#7518AE #9823E1 #B159E8 #CA8FEF #E4C5F7

Accessibility & contrast

On white

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

On black

5.46
#B159E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E8#FFFFFF#000000##000000
##B159E81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#147EEC
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#AA7599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b159e8;
/* rgb */ color: rgb(177, 89, 232);
/* oklch */ color: oklch(63.2% 0.214 310.0);
Tailwind
colors: {
  custom: {
    50: '#cc8df0',
    500: '#b159e8',
    950: '#000000',
  },
}
SCSS
$custom: #b159e8;
$custom-light: #cc8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e8",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 276.923,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.21413,
    "h": 310
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#B159E8
secondary
#C8E8B5
accent
#D80E5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B159E8

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

Preview Lab → · Contrast checker → · Palette generator →

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