#B054E2#B054E2

#B054E2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.215 H 311.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B054E2
RGBrgb(176, 84, 226)
HSLhsl(279, 71%, 61%)
HSVhsv(279, 63%, 89%)
CMYKcmyk(22.1%, 62.8%, 0%, 11.4%)
CIE-LABlab(53.02, 60.21, -56.98)
CIE-LCHlch(53.02, 82.89, 316.58°)
OKLaboklab(62.1% 0.1424 -0.1605)
OKLCHoklch(62.1% 0.215 311.6)
XYZxyz(34.7998, 21.0626, 74.1690)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054E2 #86E254
analogous
#6954E2 #B054E2 #E254CD
triadic
#B054E2 #E2B054 #54E2B0
tetradic
#B054E2 #E26954 #86E254 #54CDE2
square
#B054E2 #E26954 #86E254 #54CDE2
split-complementary
#B054E2 #CDE254 #54E269
monochromatic
#711BA0 #9724D5 #B054E2 #C888EB #E0BDF4

Accessibility & contrast

On white

4.03
#B054E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B054E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054E2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054E2#FFFFFF#000000##000000
##B054E21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7AE6
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#AA7094
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b054e2;
/* rgb */ color: rgb(176, 84, 226);
/* oklch */ color: oklch(62.1% 0.215 311.6);
Tailwind
colors: {
  custom: {
    50: '#cb89ec',
    500: '#b054e2',
    950: '#000000',
  },
}
SCSS
$custom: #b054e2;
$custom-light: #cb89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b054e2",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 278.873,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62103,
    "c": 0.21454,
    "h": 311.6
  },
  "luminance": 0.21062
}

Semantic roles & 50–950 ramp

primary
#B054E2
secondary
#C1E4AE
accent
#D31256
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B054E2

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

Preview Lab → · Contrast checker → · Palette generator →

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