#B156E7#B156E7

#B156E7 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.8% C 0.217 H 310.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B156E7
RGBrgb(177, 86, 231)
HSLhsl(278, 75%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(23.4%, 62.8%, 0%, 9.4%)
CIE-LABlab(53.79, 60.56, -58.56)
CIE-LCHlch(53.79, 84.24, 315.97°)
OKLaboklab(62.78% 0.1412 -0.1651)
OKLCHoklch(62.78% 0.217 310.5)
XYZxyz(35.8803, 21.7730, 77.8983)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156E7 #8CE756
analogous
#6856E7 #B156E7 #E756D5
triadic
#B156E7 #E7B156 #56E7B1
tetradic
#B156E7 #E76856 #8CE756 #56D5E7
square
#B156E7 #E76856 #8CE756 #56D5E7
split-complementary
#B156E7 #D5E756 #56E768
monochromatic
#7418AA #9820DF #B156E7 #CA8CEF #E2C1F6

Accessibility & contrast

On white

3.92
#B156E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B156E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156E7#FFFFFF#000000##000000
##B156E71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#AA7397
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b156e7;
/* rgb */ color: rgb(177, 86, 231);
/* oklch */ color: oklch(62.8% 0.217 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc8bef',
    500: '#b156e7',
    950: '#000000',
  },
}
SCSS
$custom: #b156e7;
$custom-light: #cc8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b156e7",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 277.655,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62781,
    "c": 0.21721,
    "h": 310.5
  },
  "luminance": 0.21772
}

Semantic roles & 50–950 ramp

primary
#B156E7
secondary
#C6E7B2
accent
#D70E59
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156E7

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

Preview Lab → · Contrast checker → · Palette generator →

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