#B392FA#B392FA

#B392FA is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.2% C 0.150 H 297.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B392FA
RGBrgb(179, 146, 250)
HSLhsl(259, 91%, 78%)
HSVhsv(259, 42%, 98%)
CMYKcmyk(28.4%, 41.6%, 0%, 2%)
CIE-LABlab(67.31, 33.81, -47.57)
CIE-LCHlch(67.31, 58.36, 305.41°)
OKLaboklab(73.17% 0.0684 -0.1331)
OKLCHoklch(73.17% 0.15 297.2)
XYZxyz(46.1205, 37.0431, 95.1441)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B392FA #D9FA92
analogous
#92A5FA #B392FA #E792FA
triadic
#B392FA #FAB392 #92FAB3
tetradic
#B392FA #FA92A5 #D9FA92 #92FAE7
square
#B392FA #FA92A5 #D9FA92 #92FAE7
split-complementary
#B392FA #FAE792 #A5FA92
monochromatic
#611DF5 #8A57F7 #B392FA #DCCDFD #EBE2FE

Accessibility & contrast

On white

2.50
#B392FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B392FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B392FA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B392FA#FFFFFF#000000##000000
##B392FA1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#A4A4BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b392fa;
/* rgb */ color: rgb(179, 146, 250);
/* oklch */ color: oklch(73.2% 0.150 297.2);
Tailwind
colors: {
  custom: {
    50: '#ccb2fc',
    500: '#b392fa',
    950: '#000000',
  },
}
SCSS
$custom: #b392fa;
$custom-light: #ccb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b392fa",
  "rgb": {
    "r": 179,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 259.038,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73173,
    "c": 0.14965,
    "h": 297.2
  },
  "luminance": 0.37044
}

Semantic roles & 50–950 ramp

primary
#B392FA
secondary
#EBF6D5
accent
#E6009D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B392FA

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

Preview Lab → · Contrast checker → · Palette generator →

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