#B155F8#B155F8

#B155F8 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.8% C 0.236 H 306.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B155F8
RGBrgb(177, 85, 248)
HSLhsl(274, 92%, 65%)
HSVhsv(274, 66%, 97%)
CMYKcmyk(28.6%, 65.7%, 0%, 2.7%)
CIE-LABlab(54.68, 64.71, -66.62)
CIE-LCHlch(54.68, 92.88, 314.17°)
OKLaboklab(63.77% 0.1411 -0.1887)
OKLCHoklch(63.77% 0.236 306.8)
XYZxyz(38.3196, 22.6218, 91.1365)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155F8 #9CF855
analogous
#5F55F8 #B155F8 #F855ED
triadic
#B155F8 #F8B155 #55F8B1
tetradic
#B155F8 #F85F55 #9CF855 #55EDF8
square
#B155F8 #F85F55 #9CF855 #55EDF8
split-complementary
#B155F8 #EDF855 #55F85F
monochromatic
#7608CA #961AF6 #B155F8 #CC90FA #E7CBFD

Accessibility & contrast

On white

3.80
#B155F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B155F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155F8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155F8#FFFFFF#000000##000000
##B155F81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#2C83F4
Tritanopia (blue-blind)
#A578A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b155f8;
/* rgb */ color: rgb(177, 85, 248);
/* oklch */ color: oklch(63.8% 0.236 306.8);
Tailwind
colors: {
  custom: {
    50: '#cd8bfb',
    500: '#b155f8',
    950: '#000000',
  },
}
SCSS
$custom: #b155f8;
$custom-light: #cd8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b155f8",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 273.865,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.23567,
    "h": 306.8
  },
  "luminance": 0.22621
}

Semantic roles & 50–950 ramp

primary
#B155F8
secondary
#D1F0B9
accent
#E60064
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B155F8

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

Preview Lab → · Contrast checker → · Palette generator →

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