#B156E2#B156E2

#B156E2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.212 H 311.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B156E2
RGBrgb(177, 86, 226)
HSLhsl(279, 71%, 61%)
HSVhsv(279, 62%, 89%)
CMYKcmyk(21.7%, 61.9%, 0%, 11.4%)
CIE-LABlab(53.49, 59.50, -56.22)
CIE-LCHlch(53.49, 81.86, 316.62°)
OKLaboklab(62.47% 0.1413 -0.1582)
OKLCHoklch(62.47% 0.212 311.8)
XYZxyz(35.1842, 21.4945, 74.2322)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156E2 #87E256
analogous
#6B56E2 #B156E2 #E256CD
triadic
#B156E2 #E2B156 #56E2B1
tetradic
#B156E2 #E26B56 #87E256 #56CDE2
square
#B156E2 #E26B56 #87E256 #56CDE2
split-complementary
#B156E2 #CDE256 #56E26B
monochromatic
#731CA2 #9825D6 #B156E2 #C98AEB #E1BEF4

Accessibility & contrast

On white

3.96
#B156E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B156E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156E2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156E2#FFFFFF#000000##000000
##B156E21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#187BE6
Deuteranopia (green-blind)
#4A82DF
Tritanopia (blue-blind)
#AB7194
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b156e2;
/* rgb */ color: rgb(177, 86, 226);
/* oklch */ color: oklch(62.5% 0.212 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc8bec',
    500: '#b156e2',
    950: '#000000',
  },
}
SCSS
$custom: #b156e2;
$custom-light: #cc8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#b156e2",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 279,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.21215,
    "h": 311.8
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#B156E2
secondary
#C2E4B0
accent
#D31356
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156E2

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

Preview Lab → · Contrast checker → · Palette generator →

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