#B159F0#B159F0

#B159F0 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.222 H 308.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B159F0
RGBrgb(177, 89, 240)
HSLhsl(275, 83%, 65%)
HSVhsv(275, 63%, 94%)
CMYKcmyk(26.3%, 62.9%, 0%, 5.9%)
CIE-LABlab(54.85, 61.10, -61.89)
CIE-LCHlch(54.85, 86.97, 314.63°)
OKLaboklab(63.73% 0.1373 -0.1749)
OKLCHoklch(63.73% 0.222 308.1)
XYZxyz(37.4288, 22.7837, 84.8471)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159F0 #98F059
analogous
#6659F0 #B159F0 #F059E3
triadic
#B159F0 #F0B159 #59F0B1
tetradic
#B159F0 #F06659 #98F059 #59E3F0
square
#B159F0 #F06659 #98F059 #59E3F0
split-complementary
#B159F0 #E3F059 #59F066
monochromatic
#7611BD #9721EB #B159F0 #CB91F5 #E6C9FA

Accessibility & contrast

On white

3.78
#B159F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B159F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159F0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159F0#FFFFFF#000000##000000
##B159F01.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#3E84ED
Tritanopia (blue-blind)
#A7789D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b159f0;
/* rgb */ color: rgb(177, 89, 240);
/* oklch */ color: oklch(63.7% 0.222 308.1);
Tailwind
colors: {
  custom: {
    50: '#cc8df6',
    500: '#b159f0',
    950: '#000000',
  },
}
SCSS
$custom: #b159f0;
$custom-light: #cc8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#b159f0",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 274.967,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.22235,
    "h": 308.1
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#B159F0
secondary
#CEECB8
accent
#E00661
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B159F0

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

Preview Lab → · Contrast checker → · Palette generator →

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