#B159F6#B159F6

#B159F6 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.229 H 306.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B159F6
RGBrgb(177, 89, 246)
HSLhsl(274, 90%, 66%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(28%, 63.8%, 0%, 3.5%)
CIE-LABlab(55.22, 62.43, -64.63)
CIE-LCHlch(55.22, 89.86, 314.01°)
OKLaboklab(64.11% 0.1369 -0.1829)
OKLCHoklch(64.11% 0.229 306.8)
XYZxyz(38.3349, 23.1461, 89.6190)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159F6 #9EF659
analogous
#6359F6 #B159F6 #F659EC
triadic
#B159F6 #F6B159 #59F6B1
tetradic
#B159F6 #F66359 #9EF659 #59ECF6
square
#B159F6 #F66359 #9EF659 #59ECF6
split-complementary
#B159F6 #ECF659 #59F663
monochromatic
#760BCA #961FF3 #B159F6 #CC93F9 #E8CDFC

Accessibility & contrast

On white

3.73
#B159F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B159F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159F6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159F6#FFFFFF#000000##000000
##B159F61.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#A67AA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b159f6;
/* rgb */ color: rgb(177, 89, 246);
/* oklch */ color: oklch(64.1% 0.229 306.8);
Tailwind
colors: {
  custom: {
    50: '#cd8dfa',
    500: '#b159f6',
    950: '#000000',
  },
}
SCSS
$custom: #b159f6;
$custom-light: #cd8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b159f6",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 273.631,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.22852,
    "h": 306.8
  },
  "luminance": 0.23146
}

Semantic roles & 50–950 ramp

primary
#B159F6
secondary
#D2F0BB
accent
#E60065
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B159F6

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

Preview Lab → · Contrast checker → · Palette generator →

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