#B155E7#B155E7

#B155E7 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.219 H 310.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B155E7
RGBrgb(177, 85, 231)
HSLhsl(278, 75%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(23.4%, 63.2%, 0%, 9.4%)
CIE-LABlab(53.62, 61.03, -58.83)
CIE-LCHlch(53.62, 84.77, 316.05°)
OKLaboklab(62.66% 0.1423 -0.1659)
OKLCHoklch(62.66% 0.219 310.6)
XYZxyz(35.8010, 21.6144, 77.8719)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155E7 #8BE755
analogous
#6855E7 #B155E7 #E755D4
triadic
#B155E7 #E7B155 #55E7B1
tetradic
#B155E7 #E76855 #8BE755 #55D4E7
square
#B155E7 #E76855 #8BE755 #55D4E7
split-complementary
#B155E7 #D4E755 #55E768
monochromatic
#7418AA #9820DF #B155E7 #CA8BEF #E2C0F6

Accessibility & contrast

On white

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

On black

5.32
#B155E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155E7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155E7#FFFFFF#000000##000000
##B155E71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#AA7297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b155e7;
/* rgb */ color: rgb(177, 85, 231);
/* oklch */ color: oklch(62.7% 0.219 310.6);
Tailwind
colors: {
  custom: {
    50: '#cc8aef',
    500: '#b155e7',
    950: '#000000',
  },
}
SCSS
$custom: #b155e7;
$custom-light: #cc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b155e7",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 277.808,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62658,
    "c": 0.21855,
    "h": 310.6
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#B155E7
secondary
#C5E7B1
accent
#D70E59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B155E7

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

Preview Lab → · Contrast checker → · Palette generator →

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