#B155E4#B155E4

#B155E4 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.216 H 311.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B155E4
RGBrgb(177, 85, 228)
HSLhsl(279, 73%, 61%)
HSVhsv(279, 63%, 89%)
CMYKcmyk(22.4%, 62.7%, 0%, 10.6%)
CIE-LABlab(53.43, 60.39, -57.43)
CIE-LCHlch(53.43, 83.34, 316.44°)
OKLaboklab(62.47% 0.1424 -0.1618)
OKLCHoklch(62.47% 0.216 311.4)
XYZxyz(35.3810, 21.4464, 75.6595)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E4 #88E455
analogous
#6A55E4 #B155E4 #E455D0
triadic
#B155E4 #E4B155 #55E4B1
tetradic
#B155E4 #E46A55 #88E455 #55D0E4
square
#B155E4 #E46A55 #88E455 #55D0E4
split-complementary
#B155E4 #D0E455 #55E46A
monochromatic
#731AA4 #9823D9 #B155E4 #C98AEC #E1BFF5

Accessibility & contrast

On white

3.97
#B155E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B155E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E4#FFFFFF#000000##000000
##B155E41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7BE8
Deuteranopia (green-blind)
#4781E1
Tritanopia (blue-blind)
#AB7195
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b155e4;
/* rgb */ color: rgb(177, 85, 228);
/* oklch */ color: oklch(62.5% 0.216 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc8aed',
    500: '#b155e4',
    950: '#000000',
  },
}
SCSS
$custom: #b155e4;
$custom-light: #cc8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e4",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 278.601,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.21553,
    "h": 311.4
  },
  "luminance": 0.21446
}

Semantic roles & 50–950 ramp

primary
#B155E4
secondary
#C3E5B0
accent
#D51157
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B155E4

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

Preview Lab → · Contrast checker → · Palette generator →

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