#B391EA#B391EA

#B391EA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.2% C 0.130 H 300.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B391EA
RGBrgb(179, 145, 234)
HSLhsl(263, 68%, 74%)
HSVhsv(263, 38%, 92%)
CMYKcmyk(23.5%, 38%, 0%, 8.2%)
CIE-LABlab(66.35, 30.56, -40.31)
CIE-LCHlch(66.35, 50.58, 307.17°)
OKLaboklab(72.21% 0.0668 -0.1121)
OKLCHoklch(72.21% 0.13 300.8)
XYZxyz(43.5638, 35.7749, 82.4361)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B391EA #C8EA91
analogous
#919CEA #B391EA #DF91EA
triadic
#B391EA #EAB391 #91EAB3
tetradic
#B391EA #EA919C #C8EA91 #91EADF
square
#B391EA #EA919C #C8EA91 #91EADF
split-complementary
#B391EA #EADF91 #9CEA91
monochromatic
#6C2AD6 #8F5EE0 #B391EA #D7C4F4 #EDE5FA

Accessibility & contrast

On white

2.58
#B391EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B391EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B391EA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B391EA#FFFFFF#000000##000000
##B391EA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#A9A0B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b391ea;
/* rgb */ color: rgb(179, 145, 234);
/* oklch */ color: oklch(72.2% 0.130 300.8);
Tailwind
colors: {
  custom: {
    50: '#cbb1f1',
    500: '#b391ea',
    950: '#000000',
  },
}
SCSS
$custom: #b391ea;
$custom-light: #cbb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b391ea",
  "rgb": {
    "r": 179,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 262.921,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72206,
    "c": 0.13045,
    "h": 300.8
  },
  "luminance": 0.35775
}

Semantic roles & 50–950 ramp

primary
#B391EA
secondary
#E8F2D9
accent
#D01689
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #B391EA

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

Preview Lab → · Contrast checker → · Palette generator →

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