#B155E5#B155E5

#B155E5 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.217 H 311.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B155E5
RGBrgb(177, 85, 229)
HSLhsl(278, 73%, 62%)
HSVhsv(278, 63%, 90%)
CMYKcmyk(22.7%, 62.9%, 0%, 10.2%)
CIE-LABlab(53.49, 60.60, -57.90)
CIE-LCHlch(53.49, 83.81, 316.31°)
OKLaboklab(62.53% 0.1424 -0.1631)
OKLCHoklch(62.53% 0.217 311.1)
XYZxyz(35.5202, 21.5021, 76.3927)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E5 #89E555
analogous
#6955E5 #B155E5 #E555D1
triadic
#B155E5 #E5B155 #55E5B1
tetradic
#B155E5 #E56955 #89E555 #55D1E5
square
#B155E5 #E56955 #89E555 #55D1E5
split-complementary
#B155E5 #D1E555 #55E569
monochromatic
#7319A6 #9822DB #B155E5 #C98AED #E2BFF5

Accessibility & contrast

On white

3.96
#B155E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B155E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E5#FFFFFF#000000##000000
##B155E51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#077BE9
Deuteranopia (green-blind)
#4682E2
Tritanopia (blue-blind)
#AB7196
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b155e5;
/* rgb */ color: rgb(177, 85, 229);
/* oklch */ color: oklch(62.5% 0.217 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc8aee',
    500: '#b155e5',
    950: '#000000',
  },
}
SCSS
$custom: #b155e5;
$custom-light: #cc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e5",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 278.333,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.21653,
    "h": 311.1
  },
  "luminance": 0.21501
}

Semantic roles & 50–950 ramp

primary
#B155E5
secondary
#C3E6B0
accent
#D61057
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B155E5

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

Preview Lab → · Contrast checker → · Palette generator →

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