#B391F8#B391F8

#B391F8 is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.9% C 0.149 H 297.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B391F8
RGBrgb(179, 145, 248)
HSLhsl(260, 88%, 77%)
HSVhsv(260, 42%, 97%)
CMYKcmyk(27.8%, 41.5%, 0%, 2.7%)
CIE-LABlab(66.98, 33.89, -46.99)
CIE-LCHlch(66.98, 57.93, 305.80°)
OKLaboklab(72.9% 0.0694 -0.1314)
OKLCHoklch(72.9% 0.149 297.8)
XYZxyz(45.6551, 36.6114, 93.4501)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B391F8 #D6F891
analogous
#91A3F8 #B391F8 #E791F8
triadic
#B391F8 #F8B391 #91F8B3
tetradic
#B391F8 #F891A3 #D6F891 #91F8E7
square
#B391F8 #F891A3 #D6F891 #91F8E7
split-complementary
#B391F8 #F8E791 #A3F891
monochromatic
#631EF1 #8B57F4 #B391F8 #DBCBFC #EBE2FD

Accessibility & contrast

On white

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

On black

8.32
#B391F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B391F8
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B391F8#FFFFFF#000000##000000
##B391F81.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#A5A3B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b391f8;
/* rgb */ color: rgb(179, 145, 248);
/* oklch */ color: oklch(72.9% 0.149 297.8);
Tailwind
colors: {
  custom: {
    50: '#ccb1fb',
    500: '#b391f8',
    950: '#000000',
  },
}
SCSS
$custom: #b391f8;
$custom-light: #ccb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b391f8",
  "rgb": {
    "r": 179,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 259.806,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72897,
    "c": 0.14861,
    "h": 297.8
  },
  "luminance": 0.36612
}

Semantic roles & 50–950 ramp

primary
#B391F8
secondary
#EBF5D6
accent
#E50199
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085

Preview Lab

Preview with #B391F8

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

Preview Lab → · Contrast checker → · Palette generator →

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