#B94AFF#B94AFF

#B94AFF is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 64.0% C 0.257 H 308.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B94AFF
RGBrgb(185, 74, 255)
HSLhsl(277, 100%, 65%)
HSVhsv(277, 71%, 100%)
CMYKcmyk(27.5%, 71%, 0%, 0%)
CIE-LABlab(54.48, 72.45, -70.78)
CIE-LCHlch(54.48, 101.28, 315.67°)
OKLaboklab(63.99% 0.1614 -0.2006)
OKLCHoklch(63.99% 0.257 308.8)
XYZxyz(40.5027, 22.4326, 96.7846)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94AFF #90FF4A
analogous
#5F4AFF #B94AFF #FF4AEA
triadic
#B94AFF #FFB94A #4AFFB9
tetradic
#B94AFF #FF5F4A #90FF4A #4AEAFF
square
#B94AFF #FF5F4A #90FF4A #4AEAFF
split-complementary
#B94AFF #EAFF4A #4AFF5F
monochromatic
#7F00CF #A10DFF #B94AFF #D187FF #E8C4FF

Accessibility & contrast

On white

3.83
#B94AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B94AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94AFF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94AFF#FFFFFF#000000##000000
##B94AFF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#1884FB
Tritanopia (blue-blind)
#AE74A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b94aff;
/* rgb */ color: rgb(185, 74, 255);
/* oklch */ color: oklch(64.0% 0.257 308.8);
Tailwind
colors: {
  custom: {
    50: '#d386ff',
    500: '#b94aff',
    950: '#000000',
  },
}
SCSS
$custom: #b94aff;
$custom-light: #d386ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b94aff",
  "rgb": {
    "r": 185,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 276.796,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.25749,
    "h": 308.8
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#B94AFF
secondary
#CBF2B3
accent
#E60059
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B94AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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