#B154E4#B154E4

#B154E4 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.217 H 311.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B154E4
RGBrgb(177, 84, 228)
HSLhsl(279, 73%, 61%)
HSVhsv(279, 63%, 89%)
CMYKcmyk(22.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(53.27, 60.85, -57.70)
CIE-LCHlch(53.27, 83.86, 316.52°)
OKLaboklab(62.35% 0.1436 -0.1626)
OKLCHoklch(62.35% 0.217 311.4)
XYZxyz(35.3028, 21.2900, 75.6334)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154E4 #87E454
analogous
#6954E4 #B154E4 #E454CF
triadic
#B154E4 #E4B154 #54E4B1
tetradic
#B154E4 #E46954 #87E454 #54CFE4
square
#B154E4 #E46954 #87E454 #54CFE4
split-complementary
#B154E4 #CFE454 #54E469
monochromatic
#731AA4 #9822D9 #B154E4 #C989EC #E1BEF5

Accessibility & contrast

On white

3.99
#B154E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B154E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154E4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154E4#FFFFFF#000000##000000
##B154E41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#047BE8
Deuteranopia (green-blind)
#4681E1
Tritanopia (blue-blind)
#AB7095
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b154e4;
/* rgb */ color: rgb(177, 84, 228);
/* oklch */ color: oklch(62.3% 0.217 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc8aed',
    500: '#b154e4',
    950: '#000000',
  },
}
SCSS
$custom: #b154e4;
$custom-light: #cc8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#b154e4",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 278.75,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.21688,
    "h": 311.4
  },
  "luminance": 0.21289
}

Semantic roles & 50–950 ramp

primary
#B154E4
secondary
#C2E5AF
accent
#D51156
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154E4

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

Preview Lab → · Contrast checker → · Palette generator →

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