#B155E6#B155E6

#B155E6 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.218 H 310.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B155E6
RGBrgb(177, 85, 230)
HSLhsl(278, 74%, 62%)
HSVhsv(278, 63%, 90%)
CMYKcmyk(23%, 63%, 0%, 9.8%)
CIE-LABlab(53.55, 60.82, -58.36)
CIE-LCHlch(53.55, 84.29, 316.18°)
OKLaboklab(62.6% 0.1423 -0.1645)
OKLCHoklch(62.6% 0.218 310.9)
XYZxyz(35.6602, 21.5581, 77.1302)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E6 #8AE655
analogous
#6955E6 #B155E6 #E655D3
triadic
#B155E6 #E6B155 #55E6B1
tetradic
#B155E6 #E66955 #8AE655 #55D3E6
square
#B155E6 #E66955 #8AE655 #55D3E6
split-complementary
#B155E6 #D3E655 #55E669
monochromatic
#7419A8 #9821DD #B155E6 #C98AEE #E2C0F6

Accessibility & contrast

On white

3.95
#B155E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B155E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E6#FFFFFF#000000##000000
##B155E61.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#027CEA
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#AA7296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b155e6;
/* rgb */ color: rgb(177, 85, 230);
/* oklch */ color: oklch(62.6% 0.218 310.9);
Tailwind
colors: {
  custom: {
    50: '#cc8aef',
    500: '#b155e6',
    950: '#000000',
  },
}
SCSS
$custom: #b155e6;
$custom-light: #cc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e6",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 278.069,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62595,
    "c": 0.21754,
    "h": 310.9
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

primary
#B155E6
secondary
#C4E6B1
accent
#D60F58
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B155E6

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

Preview Lab → · Contrast checker → · Palette generator →

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