#B392EA#B392EA

#B392EA is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.4% C 0.129 H 300.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B392EA
RGBrgb(179, 146, 234)
HSLhsl(263, 68%, 75%)
HSVhsv(263, 38%, 92%)
CMYKcmyk(23.5%, 37.6%, 0%, 8.2%)
CIE-LABlab(66.58, 30.00, -39.94)
CIE-LCHlch(66.58, 49.95, 306.91°)
OKLaboklab(72.38% 0.0654 -0.111)
OKLCHoklch(72.38% 0.129 300.5)
XYZxyz(43.7173, 36.0818, 82.4873)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B392EA #C9EA92
analogous
#929DEA #B392EA #DF92EA
triadic
#B392EA #EAB392 #92EAB3
tetradic
#B392EA #EA929D #C9EA92 #92EADF
square
#B392EA #EA929D #C9EA92 #92EADF
split-complementary
#B392EA #EADF92 #9DEA92
monochromatic
#6B2BD6 #8F5FE0 #B392EA #D7C5F4 #EDE5FA

Accessibility & contrast

On white

2.56
#B392EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B392EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B392EA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B392EA#FFFFFF#000000##000000
##B392EA1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2ED
Deuteranopia (green-blind)
#83A1E8
Tritanopia (blue-blind)
#A9A0B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b392ea;
/* rgb */ color: rgb(179, 146, 234);
/* oklch */ color: oklch(72.4% 0.129 300.5);
Tailwind
colors: {
  custom: {
    50: '#cbb2f1',
    500: '#b392ea',
    950: '#000000',
  },
}
SCSS
$custom: #b392ea;
$custom-light: #cbb2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b392ea",
  "rgb": {
    "r": 179,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 262.5,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72384,
    "c": 0.12884,
    "h": 300.5
  },
  "luminance": 0.36082
}

Semantic roles & 50–950 ramp

primary
#B392EA
secondary
#E9F2D9
accent
#D0168A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B392EA

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

Preview Lab → · Contrast checker → · Palette generator →

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