#B159DE#B159DE

#B159DE is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.204 H 312.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B159DE
RGBrgb(177, 89, 222)
HSLhsl(280, 67%, 61%)
HSVhsv(280, 60%, 87%)
CMYKcmyk(20.3%, 59.9%, 0%, 12.9%)
CIE-LABlab(53.78, 57.22, -53.50)
CIE-LCHlch(53.78, 78.33, 316.93°)
OKLaboklab(62.61% 0.1378 -0.1503)
OKLCHoklch(62.61% 0.204 312.5)
XYZxyz(34.8863, 21.7667, 71.4567)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159DE #86DE59
analogous
#6E59DE #B159DE #DE59C8
triadic
#B159DE #DEB159 #59DEB1
tetradic
#B159DE #DE6E59 #86DE59 #59C8DE
square
#B159DE #DE6E59 #86DE59 #59C8DE
split-complementary
#B159DE #C8DE59 #59DE6E
monochromatic
#731F9D #9829D0 #B159DE #C98CE8 #E1BFF2

Accessibility & contrast

On white

3.92
#B159DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B159DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159DE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159DE#FFFFFF#000000##000000
##B159DE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE2
Deuteranopia (green-blind)
#5082DB
Tritanopia (blue-blind)
#AC7193
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b159de;
/* rgb */ color: rgb(177, 89, 222);
/* oklch */ color: oklch(62.6% 0.204 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc8ce9',
    500: '#b159de',
    950: '#000000',
  },
}
SCSS
$custom: #b159de;
$custom-light: #cc8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b159de",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 279.699,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62606,
    "c": 0.20387,
    "h": 312.5
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

primary
#B159DE
secondary
#C1E2B0
accent
#CF1755
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159DE

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

Preview Lab → · Contrast checker → · Palette generator →

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