#B155EA#B155EA

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

Color values

HEX#B155EA
RGBrgb(177, 85, 234)
HSLhsl(277, 78%, 63%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(24.4%, 63.7%, 0%, 8.2%)
CIE-LABlab(53.80, 61.67, -60.22)
CIE-LCHlch(53.80, 86.20, 315.68°)
OKLaboklab(62.85% 0.1422 -0.17)
OKLCHoklch(62.85% 0.222 309.9)
XYZxyz(36.2284, 21.7853, 80.1225)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155EA #8EEA55
analogous
#6755EA #B155EA #EA55D8
triadic
#B155EA #EAB155 #55EAB1
tetradic
#B155EA #EA6755 #8EEA55 #55D8EA
square
#B155EA #EA6755 #8EEA55 #55D8EA
split-complementary
#B155EA #D8EA55 #55EA67
monochromatic
#7416AF #981FE3 #B155EA #CA8BF1 #E3C2F7

Accessibility & contrast

On white

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

On black

5.36
#B155EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155EA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155EA#FFFFFF#000000##000000
##B155EA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#4182E7
Tritanopia (blue-blind)
#A97398
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b155ea;
/* rgb */ color: rgb(177, 85, 234);
/* oklch */ color: oklch(62.8% 0.222 309.9);
Tailwind
colors: {
  custom: {
    50: '#cc8af1',
    500: '#b155ea',
    950: '#000000',
  },
}
SCSS
$custom: #b155ea;
$custom-light: #cc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b155ea",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 277.047,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62849,
    "c": 0.22157,
    "h": 309.9
  },
  "luminance": 0.21785
}

Semantic roles & 50–950 ramp

primary
#B155EA
secondary
#C7E8B2
accent
#DA0B5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B155EA

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

Preview Lab → · Contrast checker → · Palette generator →

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