#B155E9#B155E9

#B155E9 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.221 H 310.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B155E9
RGBrgb(177, 85, 233)
HSLhsl(277, 77%, 62%)
HSVhsv(277, 64%, 91%)
CMYKcmyk(24%, 63.5%, 0%, 8.6%)
CIE-LABlab(53.74, 61.46, -59.76)
CIE-LCHlch(53.74, 85.72, 315.80°)
OKLaboklab(62.79% 0.1422 -0.1686)
OKLCHoklch(62.79% 0.221 310.1)
XYZxyz(36.0851, 21.7280, 79.3680)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E9 #8DE955
analogous
#6755E9 #B155E9 #E955D7
triadic
#B155E9 #E9B155 #55E9B1
tetradic
#B155E9 #E96755 #8DE955 #55D7E9
square
#B155E9 #E96755 #8DE955 #55D7E9
split-complementary
#B155E9 #D7E955 #55E967
monochromatic
#7416AD #981FE2 #B155E9 #CA8BF0 #E3C1F7

Accessibility & contrast

On white

3.93
#B155E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B155E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E9#FFFFFF#000000##000000
##B155E91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#A97398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b155e9;
/* rgb */ color: rgb(177, 85, 233);
/* oklch */ color: oklch(62.8% 0.221 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc8af1',
    500: '#b155e9',
    950: '#000000',
  },
}
SCSS
$custom: #b155e9;
$custom-light: #cc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e9",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 277.297,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.22056,
    "h": 310.1
  },
  "luminance": 0.21727
}

Semantic roles & 50–950 ramp

primary
#B155E9
secondary
#C6E8B2
accent
#D90C5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B155E9

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

Preview Lab → · Contrast checker → · Palette generator →

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