#B94BFC#B94BFC

#B94BFC is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.9% C 0.254 H 309.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B94BFC
RGBrgb(185, 75, 252)
HSLhsl(277, 97%, 64%)
HSVhsv(277, 70%, 99%)
CMYKcmyk(26.6%, 70.2%, 0%, 1.2%)
CIE-LABlab(54.42, 71.43, -69.21)
CIE-LCHlch(54.42, 99.46, 315.90°)
OKLaboklab(63.88% 0.1609 -0.196)
OKLCHoklch(63.88% 0.254 309.4)
XYZxyz(40.0908, 22.3755, 94.2835)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94BFC #8EFC4B
analogous
#614BFC #B94BFC #FC4BE7
triadic
#B94BFC #FCB94B #4BFCB9
tetradic
#B94BFC #FC614B #8EFC4B #4BE7FC
square
#B94BFC #FC614B #8EFC4B #4BE7FC
split-complementary
#B94BFC #E7FC4B #4BFC61
monochromatic
#7E03C9 #A20FFB #B94BFC #D087FD #E8C3FE

Accessibility & contrast

On white

3.84
#B94BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B94BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94BFC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94BFC#FFFFFF#000000##000000
##B94BFC1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#2384F8
Tritanopia (blue-blind)
#AF739F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b94bfc;
/* rgb */ color: rgb(185, 75, 252);
/* oklch */ color: oklch(63.9% 0.254 309.4);
Tailwind
colors: {
  custom: {
    50: '#d386fe',
    500: '#b94bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b94bfc;
$custom-light: #d386fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b94bfc",
  "rgb": {
    "r": 185,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 277.288,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.25359,
    "h": 309.4
  },
  "luminance": 0.22375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B94BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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