#B154EA#B154EA

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

Color values

HEX#B154EA
RGBrgb(177, 84, 234)
HSLhsl(277, 78%, 62%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(24.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(53.63, 62.13, -60.49)
CIE-LCHlch(53.63, 86.71, 315.77°)
OKLaboklab(62.73% 0.1433 -0.1707)
OKLCHoklch(62.73% 0.223 310)
XYZxyz(36.1502, 21.6290, 80.0964)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154EA #8DEA54
analogous
#6654EA #B154EA #EA54D8
triadic
#B154EA #EAB154 #54EAB1
tetradic
#B154EA #EA6654 #8DEA54 #54D8EA
square
#B154EA #EA6654 #8DEA54 #54D8EA
split-complementary
#B154EA #D8EA54 #54EA66
monochromatic
#7415AE #981DE3 #B154EA #CA8BF1 #E3C1F7

Accessibility & contrast

On white

3.94
#B154EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B154EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154EA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154EA#FFFFFF#000000##000000
##B154EA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#A97298
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b154ea;
/* rgb */ color: rgb(177, 84, 234);
/* oklch */ color: oklch(62.7% 0.223 310.0);
Tailwind
colors: {
  custom: {
    50: '#cc8af1',
    500: '#b154ea',
    950: '#000000',
  },
}
SCSS
$custom: #b154ea;
$custom-light: #cc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b154ea",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 277.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62728,
    "c": 0.22289,
    "h": 310
  },
  "luminance": 0.21628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B154EA

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

Preview Lab → · Contrast checker → · Palette generator →

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