#B159DF#B159DF

#B159DF is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.205 H 312.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B159DF
RGBrgb(177, 89, 223)
HSLhsl(279, 68%, 61%)
HSVhsv(279, 60%, 87%)
CMYKcmyk(20.6%, 60.1%, 0%, 12.5%)
CIE-LABlab(53.84, 57.44, -53.97)
CIE-LCHlch(53.84, 78.81, 316.78°)
OKLaboklab(62.67% 0.1378 -0.1517)
OKLCHoklch(62.67% 0.205 312.3)
XYZxyz(35.0208, 21.8205, 72.1647)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159DF #87DF59
analogous
#6E59DF #B159DF #DF59CA
triadic
#B159DF #DFB159 #59DFB1
tetradic
#B159DF #DF6E59 #87DF59 #59CADF
square
#B159DF #DF6E59 #87DF59 #59CADF
split-complementary
#B159DF #CADF59 #59DF6E
monochromatic
#731F9F #9829D2 #B159DF #C98CE9 #E1C0F3

Accessibility & contrast

On white

3.91
#B159DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B159DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159DF#FFFFFF#000000##000000
##B159DF1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#AC7294
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b159df;
/* rgb */ color: rgb(177, 89, 223);
/* oklch */ color: oklch(62.7% 0.205 312.3);
Tailwind
colors: {
  custom: {
    50: '#cc8cea',
    500: '#b159df',
    950: '#000000',
  },
}
SCSS
$custom: #b159df;
$custom-light: #cc8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#b159df",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 279.403,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.20489,
    "h": 312.3
  },
  "luminance": 0.2182
}

Semantic roles & 50–950 ramp

primary
#B159DF
secondary
#C2E3B1
accent
#D01656
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159DF

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

Preview Lab → · Contrast checker → · Palette generator →

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