#B94EF7#B94EF7

#B94EF7 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.9% C 0.245 H 310.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B94EF7
RGBrgb(185, 78, 247)
HSLhsl(278, 91%, 64%)
HSVhsv(278, 68%, 97%)
CMYKcmyk(25.1%, 68.4%, 0%, 3.1%)
CIE-LABlab(54.53, 69.16, -66.25)
CIE-LCHlch(54.53, 95.78, 316.23°)
OKLaboklab(63.85% 0.1585 -0.1874)
OKLCHoklch(63.85% 0.245 310.2)
XYZxyz(39.5172, 22.4793, 90.2349)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94EF7 #8CF74E
analogous
#644EF7 #B94EF7 #F74EE0
triadic
#B94EF7 #F7B94E #4EF7B9
tetradic
#B94EF7 #F7644E #8CF74E #4EE0F7
square
#B94EF7 #F7644E #8CF74E #4EE0F7
split-complementary
#B94EF7 #E0F74E #4EF764
monochromatic
#7E09C2 #A213F4 #B94EF7 #D089FA #E7C3FC

Accessibility & contrast

On white

3.82
#B94EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B94EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94EF7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94EF7#FFFFFF#000000##000000
##B94EF71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#3284F3
Tritanopia (blue-blind)
#B1739D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b94ef7;
/* rgb */ color: rgb(185, 78, 247);
/* oklch */ color: oklch(63.9% 0.245 310.2);
Tailwind
colors: {
  custom: {
    50: '#d387fb',
    500: '#b94ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b94ef7;
$custom-light: #d387fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ef7",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 277.988,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63853,
    "c": 0.24544,
    "h": 310.2
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B94EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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