#B159E4#B159E4

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

Color values

HEX#B159E4
RGBrgb(177, 89, 228)
HSLhsl(278, 72%, 62%)
HSVhsv(278, 61%, 89%)
CMYKcmyk(22.4%, 61%, 0%, 10.6%)
CIE-LABlab(54.13, 58.50, -56.32)
CIE-LCHlch(54.13, 81.21, 316.09°)
OKLaboklab(62.97% 0.1377 -0.1585)
OKLCHoklch(62.97% 0.21 311)
XYZxyz(35.7048, 22.0941, 75.7674)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E4 #8CE459
analogous
#6C59E4 #B159E4 #E459D1
triadic
#B159E4 #E4B159 #59E4B1
tetradic
#B159E4 #E46C59 #8CE459 #59D1E4
square
#B159E4 #E46C59 #8CE459 #59D1E4
split-complementary
#B159E4 #D1E459 #59E46C
monochromatic
#741BA7 #9824DB #B159E4 #CA8EED #E2C2F5

Accessibility & contrast

On white

3.88
#B159E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B159E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E4#FFFFFF#000000##000000
##B159E41.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#AB7396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b159e4;
/* rgb */ color: rgb(177, 89, 228);
/* oklch */ color: oklch(63.0% 0.210 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ced',
    500: '#b159e4',
    950: '#000000',
  },
}
SCSS
$custom: #b159e4;
$custom-light: #cc8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e4",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 277.986,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.21002,
    "h": 311
  },
  "luminance": 0.22093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B159E4

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

Preview Lab → · Contrast checker → · Palette generator →

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