#B054E8#B054E8

#B054E8 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.221 H 310.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B054E8
RGBrgb(176, 84, 232)
HSLhsl(277, 76%, 62%)
HSVhsv(277, 64%, 91%)
CMYKcmyk(24.1%, 63.8%, 0%, 9%)
CIE-LABlab(53.38, 61.48, -59.77)
CIE-LCHlch(53.38, 85.75, 315.81°)
OKLaboklab(62.48% 0.1421 -0.1687)
OKLCHoklch(62.48% 0.221 310.1)
XYZxyz(35.6375, 21.3977, 78.5811)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054E8 #8CE854
analogous
#6654E8 #B054E8 #E854D6
triadic
#B054E8 #E8B054 #54E8B0
tetradic
#B054E8 #E86654 #8CE854 #54D6E8
square
#B054E8 #E86654 #8CE854 #54D6E8
split-complementary
#B054E8 #D6E854 #54E866
monochromatic
#7317AB #971EE1 #B054E8 #C98AEF #E2C0F7

Accessibility & contrast

On white

3.98
#B054E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B054E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054E8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054E8#FFFFFF#000000##000000
##B054E81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#A87297
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b054e8;
/* rgb */ color: rgb(176, 84, 232);
/* oklch */ color: oklch(62.5% 0.221 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc8af0',
    500: '#b054e8',
    950: '#000000',
  },
}
SCSS
$custom: #b054e8;
$custom-light: #cc8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#b054e8",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 277.297,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62482,
    "c": 0.22057,
    "h": 310.1
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#B054E8
secondary
#C5E7B1
accent
#D80D5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B054E8

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

Preview Lab → · Contrast checker → · Palette generator →

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