#B159E3#B159E3

#B159E3 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.209 H 311.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B159E3
RGBrgb(177, 89, 227)
HSLhsl(278, 71%, 62%)
HSVhsv(278, 61%, 89%)
CMYKcmyk(22%, 60.8%, 0%, 11%)
CIE-LABlab(54.07, 58.29, -55.85)
CIE-LCHlch(54.07, 80.73, 316.22°)
OKLaboklab(62.91% 0.1377 -0.1572)
OKLCHoklch(62.91% 0.209 311.2)
XYZxyz(35.5664, 22.0387, 75.0385)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B159E3 #8BE359
analogous
#6C59E3 #B159E3 #E359D0
triadic
#B159E3 #E3B159 #59E3B1
tetradic
#B159E3 #E36C59 #8BE359 #59D0E3
square
#B159E3 #E36C59 #8BE359 #59D0E3
split-complementary
#B159E3 #D0E359 #59E36C
monochromatic
#741CA6 #9825DA #B159E3 #CA8DEC #E2C2F5

Accessibility & contrast

On white

3.88
#B159E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B159E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B159E3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B159E3#FFFFFF#000000##000000
##B159E31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#207DE7
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#AB7396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b159e3;
/* rgb */ color: rgb(177, 89, 227);
/* oklch */ color: oklch(62.9% 0.209 311.2);
Tailwind
colors: {
  custom: {
    50: '#cc8cec',
    500: '#b159e3',
    950: '#000000',
  },
}
SCSS
$custom: #b159e3;
$custom-light: #cc8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#b159e3",
  "rgb": {
    "r": 177,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 278.261,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6291,
    "c": 0.20899,
    "h": 311.2
  },
  "luminance": 0.22038
}

Semantic roles & 50–950 ramp

primary
#B159E3
secondary
#C5E5B2
accent
#D31258
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B159E3

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

Preview Lab → · Contrast checker → · Palette generator →

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