#B391FA#B391FA

#B391FA is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.0% C 0.151 H 297.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B391FA
RGBrgb(179, 145, 250)
HSLhsl(259, 91%, 77%)
HSVhsv(259, 42%, 98%)
CMYKcmyk(28.4%, 42%, 0%, 2%)
CIE-LABlab(67.08, 34.37, -47.93)
CIE-LCHlch(67.08, 58.98, 305.64°)
OKLaboklab(73% 0.0697 -0.1342)
OKLCHoklch(73% 0.151 297.4)
XYZxyz(45.9670, 36.7362, 95.0930)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B391FA #D8FA91
analogous
#91A3FA #B391FA #E891FA
triadic
#B391FA #FAB391 #91FAB3
tetradic
#B391FA #FA91A3 #D8FA91 #91FAE8
square
#B391FA #FA91A3 #D8FA91 #91FAE8
split-complementary
#B391FA #FAE891 #A3FA91
monochromatic
#621CF5 #8B56F7 #B391FA #DBCCFD #EBE2FE

Accessibility & contrast

On white

2.52
#B391FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B391FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B391FA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B391FA#FFFFFF#000000##000000
##B391FA1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#A4A4BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b391fa;
/* rgb */ color: rgb(179, 145, 250);
/* oklch */ color: oklch(73.0% 0.151 297.4);
Tailwind
colors: {
  custom: {
    50: '#ccb1fc',
    500: '#b391fa',
    950: '#000000',
  },
}
SCSS
$custom: #b391fa;
$custom-light: #ccb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b391fa",
  "rgb": {
    "r": 179,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 259.429,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.1512,
    "h": 297.4
  },
  "luminance": 0.36737
}

Semantic roles & 50–950 ramp

primary
#B391FA
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085

Preview Lab

Preview with #B391FA

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

Preview Lab → · Contrast checker → · Palette generator →

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