#B155E8#B155E8

#B155E8 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.220 H 310.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B155E8
RGBrgb(177, 85, 232)
HSLhsl(278, 76%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(23.7%, 63.4%, 0%, 9%)
CIE-LABlab(53.68, 61.24, -59.29)
CIE-LCHlch(53.68, 85.24, 315.93°)
OKLaboklab(62.72% 0.1422 -0.1672)
OKLCHoklch(62.72% 0.22 310.4)
XYZxyz(35.9427, 21.6711, 78.6178)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E8 #8CE855
analogous
#6855E8 #B155E8 #E855D6
triadic
#B155E8 #E8B155 #55E8B1
tetradic
#B155E8 #E86855 #8CE855 #55D6E8
square
#B155E8 #E86855 #8CE855 #55D6E8
split-complementary
#B155E8 #D6E855 #55E868
monochromatic
#7417AB #981FE1 #B155E8 #CA8BEF #E2C1F7

Accessibility & contrast

On white

3.94
#B155E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B155E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E8#FFFFFF#000000##000000
##B155E81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#AA7297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b155e8;
/* rgb */ color: rgb(177, 85, 232);
/* oklch */ color: oklch(62.7% 0.220 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc8af0',
    500: '#b155e8',
    950: '#000000',
  },
}
SCSS
$custom: #b155e8;
$custom-light: #cc8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e8",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 277.551,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.21955,
    "h": 310.4
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#B155E8
secondary
#C6E7B1
accent
#D80D59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B155E8

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

Preview Lab → · Contrast checker → · Palette generator →

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