#B054F1#B054F1

#B054F1 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.230 H 308.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B054F1
RGBrgb(176, 84, 241)
HSLhsl(275, 85%, 64%)
HSVhsv(275, 65%, 95%)
CMYKcmyk(27%, 65.1%, 0%, 5.5%)
CIE-LABlab(53.94, 63.43, -63.91)
CIE-LCHlch(53.94, 90.04, 314.78°)
OKLaboklab(63.07% 0.1415 -0.1808)
OKLCHoklch(63.07% 0.23 308.1)
XYZxyz(36.9487, 21.9222, 85.4870)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054F1 #95F154
analogous
#6154F1 #B054F1 #F154E4
triadic
#B054F1 #F1B054 #54F1B0
tetradic
#B054F1 #F16154 #95F154 #54E4F1
square
#B054F1 #F16154 #95F154 #54E4F1
split-complementary
#B054F1 #E4F154 #54F161
monochromatic
#740FBB #961BEC #B054F1 #CA8DF6 #E4C5FA

Accessibility & contrast

On white

3.90
#B054F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B054F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054F1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054F1#FFFFFF#000000##000000
##B054F11.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#A6759C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b054f1;
/* rgb */ color: rgb(176, 84, 241);
/* oklch */ color: oklch(63.1% 0.230 308.1);
Tailwind
colors: {
  custom: {
    50: '#cc8af6',
    500: '#b054f1',
    950: '#000000',
  },
}
SCSS
$custom: #b054f1;
$custom-light: #cc8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#b054f1",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 275.159,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63067,
    "c": 0.22962,
    "h": 308.1
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#B054F1
secondary
#CCECB5
accent
#E10460
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B054F1

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

Preview Lab → · Contrast checker → · Palette generator →

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