#B054EA#B054EA

#B054EA is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.223 H 309.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B054EA
RGBrgb(176, 84, 234)
HSLhsl(277, 78%, 62%)
HSVhsv(277, 64%, 92%)
CMYKcmyk(24.8%, 64.1%, 0%, 8.2%)
CIE-LABlab(53.51, 61.91, -60.70)
CIE-LCHlch(53.51, 86.70, 315.57°)
OKLaboklab(62.61% 0.142 -0.1714)
OKLCHoklch(62.61% 0.223 309.6)
XYZxyz(35.9232, 21.5120, 80.0858)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054EA #8EEA54
analogous
#6554EA #B054EA #EA54D9
triadic
#B054EA #EAB054 #54EAB0
tetradic
#B054EA #EA6554 #8EEA54 #54D9EA
square
#B054EA #EA6554 #8EEA54 #54D9EA
split-complementary
#B054EA #D9EA54 #54EA65
monochromatic
#7315AE #971DE3 #B054EA #C98BF1 #E2C1F7

Accessibility & contrast

On white

3.96
#B054EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B054EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054EA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054EA#FFFFFF#000000##000000
##B054EA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b054ea;
/* rgb */ color: rgb(176, 84, 234);
/* oklch */ color: oklch(62.6% 0.223 309.6);
Tailwind
colors: {
  custom: {
    50: '#cc8af1',
    500: '#b054ea',
    950: '#000000',
  },
}
SCSS
$custom: #b054ea;
$custom-light: #cc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b054ea",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 276.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62611,
    "c": 0.22259,
    "h": 309.6
  },
  "luminance": 0.21511
}

Semantic roles & 50–950 ramp

primary
#B054EA
secondary
#C7E8B2
accent
#DA0B5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B054EA

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

Preview Lab → · Contrast checker → · Palette generator →

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