#B94AFB#B94AFB

#B94AFB is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.7% C 0.254 H 309.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B94AFB
RGBrgb(185, 74, 251)
HSLhsl(278, 96%, 64%)
HSVhsv(278, 71%, 98%)
CMYKcmyk(26.3%, 70.5%, 0%, 1.6%)
CIE-LABlab(54.22, 71.62, -68.99)
CIE-LCHlch(54.22, 99.45, 316.07°)
OKLaboklab(63.71% 0.1619 -0.1954)
OKLCHoklch(63.71% 0.254 309.7)
XYZxyz(39.8655, 22.1777, 93.4287)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94AFB #8CFB4A
analogous
#604AFB #B94AFB #FB4AE5
triadic
#B94AFB #FBB94A #4AFBB9
tetradic
#B94AFB #FB604A #8CFB4A #4AE5FB
square
#B94AFB #FB604A #8CFB4A #4AE5FB
split-complementary
#B94AFB #E5FB4A #4AFB60
monochromatic
#7E04C6 #A20EFA #B94AFB #D086FC #E7C2FE

Accessibility & contrast

On white

3.86
#B94AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B94AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94AFB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94AFB#FFFFFF#000000##000000
##B94AFB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#2483F7
Tritanopia (blue-blind)
#AF729E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b94afb;
/* rgb */ color: rgb(185, 74, 251);
/* oklch */ color: oklch(63.7% 0.254 309.7);
Tailwind
colors: {
  custom: {
    50: '#d385fe',
    500: '#b94afb',
    950: '#000000',
  },
}
SCSS
$custom: #b94afb;
$custom-light: #d385fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b94afb",
  "rgb": {
    "r": 185,
    "g": 74,
    "b": 251
  },
  "hsl": {
    "h": 277.627,
    "s": 95.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.25378,
    "h": 309.7
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#B94AFB
secondary
#C8F0B1
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B94AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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