#B94DF7#B94DF7

#B94DF7 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.7% C 0.247 H 310.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B94DF7
RGBrgb(185, 77, 247)
HSLhsl(278, 91%, 64%)
HSVhsv(278, 69%, 97%)
CMYKcmyk(25.1%, 68.8%, 0%, 3.1%)
CIE-LABlab(54.38, 69.58, -66.49)
CIE-LCHlch(54.38, 96.24, 316.30°)
OKLaboklab(63.75% 0.1595 -0.1881)
OKLCHoklch(63.75% 0.247 310.3)
XYZxyz(39.4467, 22.3383, 90.2114)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DF7 #8BF74D
analogous
#644DF7 #B94DF7 #F74DE0
triadic
#B94DF7 #F7B94D #4DF7B9
tetradic
#B94DF7 #F7644D #8BF74D #4DE0F7
square
#B94DF7 #F7644D #8BF74D #4DE0F7
split-complementary
#B94DF7 #E0F74D #4DF764
monochromatic
#7E09C1 #A212F4 #B94DF7 #D088FA #E7C2FC

Accessibility & contrast

On white

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

On black

5.47
#B94DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DF7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DF7#FFFFFF#000000##000000
##B94DF71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#3084F3
Tritanopia (blue-blind)
#B1729D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b94df7;
/* rgb */ color: rgb(185, 77, 247);
/* oklch */ color: oklch(63.7% 0.247 310.3);
Tailwind
colors: {
  custom: {
    50: '#d387fb',
    500: '#b94df7',
    950: '#000000',
  },
}
SCSS
$custom: #b94df7;
$custom-light: #d387fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b94df7",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 247
  },
  "hsl": {
    "h": 278.118,
    "s": 91.398,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63748,
    "c": 0.24662,
    "h": 310.3
  },
  "luminance": 0.22337
}

Semantic roles & 50–950 ramp

primary
#B94DF7
secondary
#C8EEB2
accent
#E60054
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B94DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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