#B054EC#B054EC

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

Color values

HEX#B054EC
RGBrgb(176, 84, 236)
HSLhsl(276, 80%, 63%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(25.4%, 64.4%, 0%, 7.5%)
CIE-LABlab(53.63, 62.35, -61.62)
CIE-LCHlch(53.63, 87.66, 315.33°)
OKLaboklab(62.74% 0.1419 -0.1741)
OKLCHoklch(62.74% 0.225 309.2)
XYZxyz(36.2121, 21.6275, 81.6075)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054EC #90EC54
analogous
#6454EC #B054EC #EC54DC
triadic
#B054EC #ECB054 #54ECB0
tetradic
#B054EC #EC6454 #90EC54 #54DCEC
square
#B054EC #EC6454 #90EC54 #54DCEC
split-complementary
#B054EC #DCEC54 #54EC64
monochromatic
#7314B2 #971DE6 #B054EC #C98BF2 #E3C2F8

Accessibility & contrast

On white

3.94
#B054EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B054EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054EC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054EC#FFFFFF#000000##000000
##B054EC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#3C81E9
Tritanopia (blue-blind)
#A77399
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b054ec;
/* rgb */ color: rgb(176, 84, 236);
/* oklch */ color: oklch(62.7% 0.225 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc8af3',
    500: '#b054ec',
    950: '#000000',
  },
}
SCSS
$custom: #b054ec;
$custom-light: #cc8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#b054ec",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 276.316,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6274,
    "c": 0.2246,
    "h": 309.2
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#B054EC
secondary
#C8E9B2
accent
#DC095D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B054EC

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

Preview Lab → · Contrast checker → · Palette generator →

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