#B155EE#B155EE

#B155EE is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.1% C 0.226 H 309.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B155EE
RGBrgb(177, 85, 238)
HSLhsl(276, 82%, 63%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(25.6%, 64.3%, 0%, 6.7%)
CIE-LABlab(54.05, 62.53, -62.06)
CIE-LCHlch(54.05, 88.10, 315.22°)
OKLaboklab(63.11% 0.1419 -0.1754)
OKLCHoklch(63.11% 0.226 309)
XYZxyz(36.8095, 22.0178, 83.1831)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155EE #92EE55
analogous
#6455EE #B155EE #EE55DF
triadic
#B155EE #EEB155 #55EEB1
tetradic
#B155EE #EE6455 #92EE55 #55DFEE
square
#B155EE #EE6455 #92EE55 #55DFEE
split-complementary
#B155EE #DFEE55 #55EE64
monochromatic
#7512B6 #971DE8 #B155EE #CB8DF4 #E4C4F9

Accessibility & contrast

On white

3.89
#B155EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B155EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155EE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155EE#FFFFFF#000000##000000
##B155EE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#3C82EB
Tritanopia (blue-blind)
#A8759A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b155ee;
/* rgb */ color: rgb(177, 85, 238);
/* oklch */ color: oklch(63.1% 0.226 309.0);
Tailwind
colors: {
  custom: {
    50: '#cd8af4',
    500: '#b155ee',
    950: '#000000',
  },
}
SCSS
$custom: #b155ee;
$custom-light: #cd8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b155ee",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 276.078,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63106,
    "c": 0.22559,
    "h": 309
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#B155EE
secondary
#CAEBB4
accent
#DE075D
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B155EE

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

Preview Lab → · Contrast checker → · Palette generator →

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