#B154E8#B154E8

#B154E8 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.221 H 310.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B154E8
RGBrgb(177, 84, 232)
HSLhsl(278, 76%, 62%)
HSVhsv(278, 64%, 91%)
CMYKcmyk(23.7%, 63.8%, 0%, 9%)
CIE-LABlab(53.51, 61.70, -59.56)
CIE-LCHlch(53.51, 85.76, 316.01°)
OKLaboklab(62.6% 0.1434 -0.168)
OKLCHoklch(62.6% 0.221 310.5)
XYZxyz(35.8645, 21.5147, 78.5917)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154E8 #8BE854
analogous
#6754E8 #B154E8 #E854D5
triadic
#B154E8 #E8B154 #54E8B1
tetradic
#B154E8 #E86754 #8BE854 #54D5E8
square
#B154E8 #E86754 #8BE854 #54D5E8
split-complementary
#B154E8 #D5E854 #54E867
monochromatic
#7417AB #981EE1 #B154E8 #CA8AEF #E2C0F7

Accessibility & contrast

On white

3.96
#B154E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B154E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154E8#FFFFFF#000000##000000
##B154E81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#4281E5
Tritanopia (blue-blind)
#AA7297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b154e8;
/* rgb */ color: rgb(177, 84, 232);
/* oklch */ color: oklch(62.6% 0.221 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc8af0',
    500: '#b154e8',
    950: '#000000',
  },
}
SCSS
$custom: #b154e8;
$custom-light: #cc8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#b154e8",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 277.703,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.626,
    "c": 0.22089,
    "h": 310.5
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B154E8

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

Preview Lab → · Contrast checker → · Palette generator →

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