#B054E6#B054E6

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

Color values

HEX#B054E6
RGBrgb(176, 84, 230)
HSLhsl(278, 74%, 62%)
HSVhsv(278, 63%, 90%)
CMYKcmyk(23.5%, 63.5%, 0%, 9.8%)
CIE-LABlab(53.26, 61.06, -58.84)
CIE-LCHlch(53.26, 84.80, 316.06°)
OKLaboklab(62.36% 0.1422 -0.1659)
OKLCHoklch(62.36% 0.219 310.6)
XYZxyz(35.3550, 21.2847, 77.0935)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054E6 #8AE654
analogous
#6754E6 #B054E6 #E654D3
triadic
#B054E6 #E6B054 #54E6B0
tetradic
#B054E6 #E66754 #8AE654 #54D3E6
square
#B054E6 #E66754 #8AE654 #54D3E6
split-complementary
#B054E6 #D3E654 #54E667
monochromatic
#7218A7 #9720DD #B054E6 #C989EE #E1BFF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B054E6#FFFFFF#000000##000000
##B054E61.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)
#007BEA
Deuteranopia (green-blind)
#4381E3
Tritanopia (blue-blind)
#A97196
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b054e6;
/* rgb */ color: rgb(176, 84, 230);
/* oklch */ color: oklch(62.4% 0.219 310.6);
Tailwind
colors: {
  custom: {
    50: '#cb8aef',
    500: '#b054e6',
    950: '#000000',
  },
}
SCSS
$custom: #b054e6;
$custom-light: #cb8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b054e6",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 277.808,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62355,
    "c": 0.21856,
    "h": 310.6
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#B054E6
secondary
#C4E6B0
accent
#D70F59
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B054E6

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

Preview Lab → · Contrast checker → · Palette generator →

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