#B155E1#B155E1

#B155E1 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.213 H 312.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B155E1
RGBrgb(177, 85, 225)
HSLhsl(279, 70%, 61%)
HSVhsv(279, 62%, 88%)
CMYKcmyk(21.3%, 62.2%, 0%, 11.8%)
CIE-LABlab(53.26, 59.76, -56.03)
CIE-LCHlch(53.26, 81.91, 316.85°)
OKLaboklab(62.28% 0.1425 -0.1577)
OKLCHoklch(62.28% 0.213 312.1)
XYZxyz(34.9681, 21.2812, 73.4852)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E1 #85E155
analogous
#6B55E1 #B155E1 #E155CB
triadic
#B155E1 #E1B155 #55E1B1
tetradic
#B155E1 #E16B55 #85E155 #55CBE1
square
#B155E1 #E16B55 #85E155 #55CBE1
split-complementary
#B155E1 #CBE155 #55E16B
monochromatic
#721C9F #9825D3 #B155E1 #C989EA #E1BDF3

Accessibility & contrast

On white

4.00
#B155E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B155E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E1#FFFFFF#000000##000000
##B155E11.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#177BE5
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#AC7093
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b155e1;
/* rgb */ color: rgb(177, 85, 225);
/* oklch */ color: oklch(62.3% 0.213 312.1);
Tailwind
colors: {
  custom: {
    50: '#cc8aeb',
    500: '#b155e1',
    950: '#000000',
  },
}
SCSS
$custom: #b155e1;
$custom-light: #cc8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e1",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 225
  },
  "hsl": {
    "h": 279.429,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.21252,
    "h": 312.1
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#B155E1
secondary
#C1E3AE
accent
#D21455
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B155E1

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

Preview Lab → · Contrast checker → · Palette generator →

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