#B054EB#B054EB

#B054EB is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.224 H 309.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B054EB
RGBrgb(176, 84, 235)
HSLhsl(277, 79%, 63%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(25.1%, 64.3%, 0%, 7.8%)
CIE-LABlab(53.57, 62.13, -61.16)
CIE-LCHlch(53.57, 87.18, 315.45°)
OKLaboklab(62.68% 0.142 -0.1727)
OKLCHoklch(62.68% 0.224 309.4)
XYZxyz(36.0673, 21.5696, 80.8445)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054EB #8FEB54
analogous
#6454EB #B054EB #EB54DB
triadic
#B054EB #EBB054 #54EBB0
tetradic
#B054EB #EB6454 #8FEB54 #54DBEB
square
#B054EB #EB6454 #8FEB54 #54DBEB
split-complementary
#B054EB #DBEB54 #54EB64
monochromatic
#7315B0 #971DE5 #B054EB #C98BF1 #E3C2F8

Accessibility & contrast

On white

3.95
#B054EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B054EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054EB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054EB#FFFFFF#000000##000000
##B054EB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#A87398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b054eb;
/* rgb */ color: rgb(176, 84, 235);
/* oklch */ color: oklch(62.7% 0.224 309.4);
Tailwind
colors: {
  custom: {
    50: '#cc8af2',
    500: '#b054eb',
    950: '#000000',
  },
}
SCSS
$custom: #b054eb;
$custom-light: #cc8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b054eb",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 276.556,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.22359,
    "h": 309.4
  },
  "luminance": 0.21569
}

Semantic roles & 50–950 ramp

primary
#B054EB
secondary
#C7E9B2
accent
#DB0A5C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B054EB

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

Preview Lab → · Contrast checker → · Palette generator →

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