#B054E1#B054E1

#B054E1 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.214 H 311.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B054E1
RGBrgb(176, 84, 225)
HSLhsl(279, 70%, 61%)
HSVhsv(279, 63%, 88%)
CMYKcmyk(21.8%, 62.7%, 0%, 11.8%)
CIE-LABlab(52.96, 59.99, -56.51)
CIE-LCHlch(52.96, 82.42, 316.71°)
OKLaboklab(62.04% 0.1424 -0.1591)
OKLCHoklch(62.04% 0.214 311.8)
XYZxyz(34.6630, 21.0079, 73.4485)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054E1 #85E154
analogous
#6954E1 #B054E1 #E154CB
triadic
#B054E1 #E1B054 #54E1B0
tetradic
#B054E1 #E16954 #85E154 #54CBE1
square
#B054E1 #E16954 #85E154 #54CBE1
split-complementary
#B054E1 #CBE154 #54E169
monochromatic
#711C9F #9625D3 #B054E1 #C888EA #E0BCF3

Accessibility & contrast

On white

4.04
#B054E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B054E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054E1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054E1#FFFFFF#000000##000000
##B054E11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#107AE5
Deuteranopia (green-blind)
#4880DE
Tritanopia (blue-blind)
#AA6F93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b054e1;
/* rgb */ color: rgb(176, 84, 225);
/* oklch */ color: oklch(62.0% 0.214 311.8);
Tailwind
colors: {
  custom: {
    50: '#cb89eb',
    500: '#b054e1',
    950: '#000000',
  },
}
SCSS
$custom: #b054e1;
$custom-light: #cb89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b054e1",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 279.149,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.21355,
    "h": 311.8
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#B054E1
secondary
#C0E3AE
accent
#D21356
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B054E1

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

Preview Lab → · Contrast checker → · Palette generator →

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