#B154EB#B154EB

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

Color values

HEX#B154EB
RGBrgb(177, 84, 235)
HSLhsl(277, 79%, 63%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(24.7%, 64.3%, 0%, 7.8%)
CIE-LABlab(53.69, 62.35, -60.95)
CIE-LCHlch(53.69, 87.19, 315.65°)
OKLaboklab(62.79% 0.1432 -0.1721)
OKLCHoklch(62.79% 0.224 309.8)
XYZxyz(36.2943, 21.6866, 80.8551)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154EB #8EEB54
analogous
#6654EB #B154EB #EB54D9
triadic
#B154EB #EBB154 #54EBB1
tetradic
#B154EB #EB6654 #8EEB54 #54D9EB
square
#B154EB #EB6654 #8EEB54 #54D9EB
split-complementary
#B154EB #D9EB54 #54EB66
monochromatic
#7415B0 #981DE5 #B154EB #CA8BF1 #E3C2F8

Accessibility & contrast

On white

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

On black

5.34
#B154EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154EB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154EB#FFFFFF#000000##000000
##B154EB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#A97398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b154eb;
/* rgb */ color: rgb(177, 84, 235);
/* oklch */ color: oklch(62.8% 0.224 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc8af2',
    500: '#b154eb',
    950: '#000000',
  },
}
SCSS
$custom: #b154eb;
$custom-light: #cc8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b154eb",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 276.954,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62793,
    "c": 0.22389,
    "h": 309.8
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#B154EB
secondary
#C7E9B2
accent
#DB0A5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B154EB

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

Preview Lab → · Contrast checker → · Palette generator →

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