#B159ED#B159ED

#B159ED is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.219 H 308.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B159ED
RGBrgb(177, 89, 237)
HSLhsl(276, 80%, 64%)
HSVhsv(276, 62%, 93%)
CMYKcmyk(25.3%, 62.4%, 0%, 7.1%)
CIE-LABlab(54.67, 60.45, -60.51)
CIE-LCHlch(54.67, 85.53, 314.97°)
OKLaboklab(63.53% 0.1375 -0.1708)
OKLCHoklch(63.53% 0.219 308.8)
XYZxyz(36.9869, 22.6069, 82.5195)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159ED #95ED59
analogous
#6759ED #B159ED #ED59DF
triadic
#B159ED #EDB159 #59EDB1
tetradic
#B159ED #ED6759 #95ED59 #59DFED
square
#B159ED #ED6759 #95ED59 #59DFED
split-complementary
#B159ED #DFED59 #59ED67
monochromatic
#7514B8 #9722E7 #B159ED #CB90F3 #E5C7F9

Accessibility & contrast

On white

3.80
#B159ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B159ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159ED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159ED#FFFFFF#000000##000000
##B159ED1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#A8779B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b159ed;
/* rgb */ color: rgb(177, 89, 237);
/* oklch */ color: oklch(63.5% 0.219 308.8);
Tailwind
colors: {
  custom: {
    50: '#cc8df4',
    500: '#b159ed',
    950: '#000000',
  },
}
SCSS
$custom: #b159ed;
$custom-light: #cc8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#b159ed",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 275.676,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63534,
    "c": 0.21927,
    "h": 308.8
  },
  "luminance": 0.22606
}

Semantic roles & 50–950 ramp

primary
#B159ED
secondary
#CCEBB7
accent
#DD095F
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B159ED

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

Preview Lab → · Contrast checker → · Palette generator →

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