#B159EA#B159EA

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

Color values

HEX#B159EA
RGBrgb(177, 89, 234)
HSLhsl(276, 78%, 63%)
HSVhsv(276, 62%, 92%)
CMYKcmyk(24.4%, 62%, 0%, 8.2%)
CIE-LABlab(54.48, 59.80, -59.12)
CIE-LCHlch(54.48, 84.09, 315.33°)
OKLaboklab(63.34% 0.1376 -0.1667)
OKLCHoklch(63.34% 0.216 309.5)
XYZxyz(36.5522, 22.4331, 80.2304)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159EA #92EA59
analogous
#6859EA #B159EA #EA59DA
triadic
#B159EA #EAB159 #59EAB1
tetradic
#B159EA #EA6859 #92EA59 #59DAEA
square
#B159EA #EA6859 #92EA59 #59DAEA
split-complementary
#B159EA #DAEA59 #59EA68
monochromatic
#7517B2 #9723E3 #B159EA #CB8FF1 #E4C6F8

Accessibility & contrast

On white

3.83
#B159EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B159EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159EA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159EA#FFFFFF#000000##000000
##B159EA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7FEE
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#A9769A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b159ea;
/* rgb */ color: rgb(177, 89, 234);
/* oklch */ color: oklch(63.3% 0.216 309.5);
Tailwind
colors: {
  custom: {
    50: '#cc8df1',
    500: '#b159ea',
    950: '#000000',
  },
}
SCSS
$custom: #b159ea;
$custom-light: #cc8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b159ea",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 276.414,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63344,
    "c": 0.21618,
    "h": 309.5
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#B159EA
secondary
#CAE9B6
accent
#DA0C5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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