#B159E1#B159E1

#B159E1 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.8% C 0.207 H 311.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B159E1
RGBrgb(177, 89, 225)
HSLhsl(279, 69%, 62%)
HSVhsv(279, 60%, 88%)
CMYKcmyk(21.3%, 60.4%, 0%, 11.8%)
CIE-LABlab(53.95, 57.86, -54.91)
CIE-LCHlch(53.95, 79.77, 316.50°)
OKLaboklab(62.79% 0.1378 -0.1544)
OKLCHoklch(62.79% 0.207 311.7)
XYZxyz(35.2920, 21.9290, 73.5931)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E1 #89E159
analogous
#6D59E1 #B159E1 #E159CD
triadic
#B159E1 #E1B159 #59E1B1
tetradic
#B159E1 #E16D59 #89E159 #59CDE1
square
#B159E1 #E16D59 #89E159 #59CDE1
split-complementary
#B159E1 #CDE159 #59E16D
monochromatic
#731DA2 #9827D6 #B159E1 #C98DEA #E2C1F4

Accessibility & contrast

On white

3.90
#B159E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B159E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E1#FFFFFF#000000##000000
##B159E11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE5
Deuteranopia (green-blind)
#4E83DE
Tritanopia (blue-blind)
#AB7295
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b159e1;
/* rgb */ color: rgb(177, 89, 225);
/* oklch */ color: oklch(62.8% 0.207 311.7);
Tailwind
colors: {
  custom: {
    50: '#cc8ceb',
    500: '#b159e1',
    950: '#000000',
  },
}
SCSS
$custom: #b159e1;
$custom-light: #cc8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e1",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 278.824,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.20694,
    "h": 311.7
  },
  "luminance": 0.21928
}

Semantic roles & 50–950 ramp

primary
#B159E1
secondary
#C3E4B2
accent
#D11457
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159E1

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

Preview Lab → · Contrast checker → · Palette generator →

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