#B054E4#B054E4

#B054E4 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.217 H 311.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B054E4
RGBrgb(176, 84, 228)
HSLhsl(278, 73%, 61%)
HSVhsv(278, 63%, 89%)
CMYKcmyk(22.8%, 63.2%, 0%, 10.6%)
CIE-LABlab(53.14, 60.63, -57.91)
CIE-LCHlch(53.14, 83.85, 316.31°)
OKLaboklab(62.23% 0.1423 -0.1632)
OKLCHoklch(62.23% 0.217 311.1)
XYZxyz(35.0758, 21.1730, 75.6228)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054E4 #88E454
analogous
#6854E4 #B054E4 #E454D0
triadic
#B054E4 #E4B054 #54E4B0
tetradic
#B054E4 #E46854 #88E454 #54D0E4
square
#B054E4 #E46854 #88E454 #54D0E4
split-complementary
#B054E4 #D0E454 #54E468
monochromatic
#721AA4 #9722D9 #B054E4 #C889EC #E1BEF5

Accessibility & contrast

On white

4.01
#B054E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B054E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054E4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054E4#FFFFFF#000000##000000
##B054E41.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#027BE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#AA7095
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b054e4;
/* rgb */ color: rgb(176, 84, 228);
/* oklch */ color: oklch(62.2% 0.217 311.1);
Tailwind
colors: {
  custom: {
    50: '#cb89ed',
    500: '#b054e4',
    950: '#000000',
  },
}
SCSS
$custom: #b054e4;
$custom-light: #cb89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b054e4",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 278.333,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62229,
    "c": 0.21655,
    "h": 311.1
  },
  "luminance": 0.21172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B054E4

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

Preview Lab → · Contrast checker → · Palette generator →

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