#B054E7#B054E7

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

Color values

HEX#B054E7
RGBrgb(176, 84, 231)
HSLhsl(278, 75%, 62%)
HSVhsv(278, 64%, 91%)
CMYKcmyk(23.8%, 63.6%, 0%, 9.4%)
CIE-LABlab(53.32, 61.27, -59.31)
CIE-LCHlch(53.32, 85.27, 315.93°)
OKLaboklab(62.42% 0.1422 -0.1673)
OKLCHoklch(62.42% 0.22 310.4)
XYZxyz(35.4959, 21.3410, 77.8352)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054E7 #8BE754
analogous
#6754E7 #B054E7 #E754D5
triadic
#B054E7 #E7B054 #54E7B0
tetradic
#B054E7 #E76754 #8BE754 #54D5E7
square
#B054E7 #E76754 #8BE754 #54D5E7
split-complementary
#B054E7 #D5E754 #54E767
monochromatic
#7318A9 #971FDF #B054E7 #C98AEF #E2BFF6

Accessibility & contrast

On white

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

On black

5.27
#B054E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054E7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054E7#FFFFFF#000000##000000
##B054E71.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#A97196
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b054e7;
/* rgb */ color: rgb(176, 84, 231);
/* oklch */ color: oklch(62.4% 0.220 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc8aef',
    500: '#b054e7',
    950: '#000000',
  },
}
SCSS
$custom: #b054e7;
$custom-light: #cc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b054e7",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 277.551,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62419,
    "c": 0.21956,
    "h": 310.4
  },
  "luminance": 0.2134
}

Semantic roles & 50–950 ramp

primary
#B054E7
secondary
#C5E7B0
accent
#D80E59
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B054E7

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

Preview Lab → · Contrast checker → · Palette generator →

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