#B156ED#B156ED

#B156ED is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.2% C 0.223 H 309.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B156ED
RGBrgb(177, 86, 237)
HSLhsl(276, 81%, 63%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(25.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(54.15, 61.85, -61.33)
CIE-LCHlch(54.15, 87.11, 315.24°)
OKLaboklab(63.16% 0.1409 -0.1732)
OKLCHoklch(63.16% 0.223 309.1)
XYZxyz(36.7423, 22.1178, 82.4379)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156ED #92ED56
analogous
#6556ED #B156ED #ED56DD
triadic
#B156ED #EDB156 #56EDB1
tetradic
#B156ED #ED6556 #92ED56 #56DDED
square
#B156ED #ED6556 #92ED56 #56DDED
split-complementary
#B156ED #DDED56 #56ED65
monochromatic
#7513B5 #971FE7 #B156ED #CB8DF3 #E4C5F9

Accessibility & contrast

On white

3.87
#B156ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B156ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156ED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156ED#FFFFFF#000000##000000
##B156ED1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#A8759A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b156ed;
/* rgb */ color: rgb(177, 86, 237);
/* oklch */ color: oklch(63.2% 0.223 309.1);
Tailwind
colors: {
  custom: {
    50: '#cc8bf4',
    500: '#b156ed',
    950: '#000000',
  },
}
SCSS
$custom: #b156ed;
$custom-light: #cc8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b156ed",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 276.159,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63163,
    "c": 0.22327,
    "h": 309.1
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#B156ED
secondary
#CAEAB4
accent
#DD085D
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156ED

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

Preview Lab → · Contrast checker → · Palette generator →

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