#B84AFB#B84AFB

#B84AFB is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.6% C 0.254 H 309.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B84AFB
RGBrgb(184, 74, 251)
HSLhsl(277, 96%, 64%)
HSVhsv(277, 71%, 98%)
CMYKcmyk(26.7%, 70.5%, 0%, 1.6%)
CIE-LABlab(54.08, 71.43, -69.21)
CIE-LCHlch(54.08, 99.46, 315.91°)
OKLaboklab(63.59% 0.1607 -0.1961)
OKLCHoklch(63.59% 0.254 309.3)
XYZxyz(39.6250, 22.0537, 93.4174)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84AFB #8DFB4A
analogous
#5F4AFB #B84AFB #FB4AE6
triadic
#B84AFB #FBB84A #4AFBB8
tetradic
#B84AFB #FB5F4A #8DFB4A #4AE6FB
square
#B84AFB #FB5F4A #8DFB4A #4AE6FB
split-complementary
#B84AFB #E6FB4A #4AFB5F
monochromatic
#7D04C6 #A10EFA #B84AFB #CF86FC #E7C2FE

Accessibility & contrast

On white

3.88
#B84AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B84AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B84AFB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B84AFB#FFFFFF#000000##000000
##B84AFB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#2183F7
Tritanopia (blue-blind)
#AE729E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b84afb;
/* rgb */ color: rgb(184, 74, 251);
/* oklch */ color: oklch(63.6% 0.254 309.3);
Tailwind
colors: {
  custom: {
    50: '#d285fe',
    500: '#b84afb',
    950: '#000000',
  },
}
SCSS
$custom: #b84afb;
$custom-light: #d285fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b84afb",
  "rgb": {
    "r": 184,
    "g": 74,
    "b": 251
  },
  "hsl": {
    "h": 277.288,
    "s": 95.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6359,
    "c": 0.25351,
    "h": 309.3
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#B84AFB
secondary
#C9F0B1
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B84AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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