#B155EB#B155EB

#B155EB is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.9% C 0.223 H 309.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B155EB
RGBrgb(177, 85, 235)
HSLhsl(277, 79%, 63%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(24.7%, 63.8%, 0%, 7.8%)
CIE-LABlab(53.86, 61.89, -60.68)
CIE-LCHlch(53.86, 86.67, 315.56°)
OKLaboklab(62.91% 0.1421 -0.1713)
OKLCHoklch(62.91% 0.223 309.7)
XYZxyz(36.3724, 21.8430, 80.8812)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155EB #8FEB55
analogous
#6655EB #B155EB #EB55DA
triadic
#B155EB #EBB155 #55EBB1
tetradic
#B155EB #EB6655 #8FEB55 #55DAEB
square
#B155EB #EB6655 #8FEB55 #55DAEB
split-complementary
#B155EB #DAEB55 #55EB66
monochromatic
#7415B1 #981EE5 #B155EB #CA8CF1 #E3C3F8

Accessibility & contrast

On white

3.91
#B155EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B155EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155EB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155EB#FFFFFF#000000##000000
##B155EB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#A97399
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b155eb;
/* rgb */ color: rgb(177, 85, 235);
/* oklch */ color: oklch(62.9% 0.223 309.7);
Tailwind
colors: {
  custom: {
    50: '#cc8af2',
    500: '#b155eb',
    950: '#000000',
  },
}
SCSS
$custom: #b155eb;
$custom-light: #cc8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b155eb",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 276.8,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.22258,
    "h": 309.7
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#B155EB
secondary
#C8E9B3
accent
#DB0A5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B155EB

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

Preview Lab → · Contrast checker → · Palette generator →

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