#B054DF#B054DF

#B054DF is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.212 H 312.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B054DF
RGBrgb(176, 84, 223)
HSLhsl(280, 68%, 60%)
HSVhsv(280, 62%, 87%)
CMYKcmyk(21.1%, 62.3%, 0%, 12.5%)
CIE-LABlab(52.84, 59.57, -55.57)
CIE-LCHlch(52.84, 81.47, 316.99°)
OKLaboklab(61.92% 0.1425 -0.1563)
OKLCHoklch(61.92% 0.212 312.3)
XYZxyz(34.3917, 20.8994, 72.0200)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B054DF #83DF54
analogous
#6A54DF #B054DF #DF54C9
triadic
#B054DF #DFB054 #54DFB0
tetradic
#B054DF #DF6A54 #83DF54 #54C9DF
square
#B054DF #DF6A54 #83DF54 #54C9DF
split-complementary
#B054DF #C9DF54 #54DF6A
monochromatic
#711D9C #9627CF #B054DF #C888E9 #E0BBF2

Accessibility & contrast

On white

4.05
#B054DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B054DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B054DF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B054DF#FFFFFF#000000##000000
##B054DF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E3
Deuteranopia (green-blind)
#4A80DC
Tritanopia (blue-blind)
#AB6E92
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b054df;
/* rgb */ color: rgb(176, 84, 223);
/* oklch */ color: oklch(61.9% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb89ea',
    500: '#b054df',
    950: '#000000',
  },
}
SCSS
$custom: #b054df;
$custom-light: #cb89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b054df",
  "rgb": {
    "r": 176,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 279.712,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61916,
    "c": 0.21154,
    "h": 312.3
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#B054DF
secondary
#BFE2AD
accent
#D01554
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B054DF

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

Preview Lab → · Contrast checker → · Palette generator →

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