#B154E9#B154E9

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

Color values

HEX#B154E9
RGBrgb(177, 84, 233)
HSLhsl(277, 77%, 62%)
HSVhsv(277, 64%, 91%)
CMYKcmyk(24%, 63.9%, 0%, 8.6%)
CIE-LABlab(53.57, 61.92, -60.03)
CIE-LCHlch(53.57, 86.24, 315.89°)
OKLaboklab(62.66% 0.1433 -0.1694)
OKLCHoklch(62.66% 0.222 310.2)
XYZxyz(36.0069, 21.5717, 79.3419)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154E9 #8CE954
analogous
#6754E9 #B154E9 #E954D6
triadic
#B154E9 #E9B154 #54E9B1
tetradic
#B154E9 #E96754 #8CE954 #54D6E9
square
#B154E9 #E96754 #8CE954 #54D6E9
split-complementary
#B154E9 #D6E954 #54E967
monochromatic
#7416AC #981EE2 #B154E9 #CA8AF0 #E2C0F7

Accessibility & contrast

On white

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

On black

5.31
#B154E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154E9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154E9#FFFFFF#000000##000000
##B154E91.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#AA7297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b154e9;
/* rgb */ color: rgb(177, 84, 233);
/* oklch */ color: oklch(62.7% 0.222 310.2);
Tailwind
colors: {
  custom: {
    50: '#cc8af1',
    500: '#b154e9',
    950: '#000000',
  },
}
SCSS
$custom: #b154e9;
$custom-light: #cc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b154e9",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 277.45,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62664,
    "c": 0.22189,
    "h": 310.2
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

primary
#B154E9
secondary
#C6E8B1
accent
#D90C59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B154E9

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

Preview Lab → · Contrast checker → · Palette generator →

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