#B159FA#B159FA

#B159FA is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.4% C 0.233 H 306.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B159FA
RGBrgb(177, 89, 250)
HSLhsl(273, 94%, 66%)
HSVhsv(273, 64%, 98%)
CMYKcmyk(29.2%, 64.4%, 0%, 2%)
CIE-LABlab(55.48, 63.32, -66.45)
CIE-LCHlch(55.48, 91.78, 313.62°)
OKLaboklab(64.38% 0.1367 -0.1883)
OKLCHoklch(64.38% 0.233 306)
XYZxyz(38.9554, 23.3943, 92.8873)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159FA #A2FA59
analogous
#6159FA #B159FA #FA59F3
triadic
#B159FA #FAB159 #59FAB1
tetradic
#B159FA #FA6159 #A2FA59 #59F3FA
square
#B159FA #FA6159 #A2FA59 #59F3FA
split-complementary
#B159FA #F3FA59 #59FA61
monochromatic
#7606D2 #951EF8 #B159FA #CD94FC #E9D0FE

Accessibility & contrast

On white

3.70
#B159FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B159FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159FA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159FA#FFFFFF#000000##000000
##B159FA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3085F6
Tritanopia (blue-blind)
#A47BA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b159fa;
/* rgb */ color: rgb(177, 89, 250);
/* oklch */ color: oklch(64.4% 0.233 306.0);
Tailwind
colors: {
  custom: {
    50: '#cd8dfd',
    500: '#b159fa',
    950: '#000000',
  },
}
SCSS
$custom: #b159fa;
$custom-light: #cd8dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b159fa",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 272.795,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64378,
    "c": 0.23263,
    "h": 306
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#B159FA
secondary
#D5F1BD
accent
#E60068
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #B159FA

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

Preview Lab → · Contrast checker → · Palette generator →

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