#B382EB#B382EB

#B382EB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.156 H 304.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B382EB
RGBrgb(179, 130, 235)
HSLhsl(268, 72%, 72%)
HSVhsv(268, 45%, 92%)
CMYKcmyk(23.8%, 44.7%, 0%, 7.8%)
CIE-LABlab(62.97, 39.14, -46.17)
CIE-LCHlch(62.97, 60.53, 310.29°)
OKLaboklab(69.67% 0.0876 -0.129)
OKLCHoklch(69.67% 0.156 304.2)
XYZxyz(41.5653, 31.5473, 82.4806)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382EB #BAEB82
analogous
#8286EB #B382EB #E882EB
triadic
#B382EB #EBB382 #82EBB3
tetradic
#B382EB #EB8286 #BAEB82 #82EBE8
square
#B382EB #EB8286 #BAEB82 #82EBE8
split-complementary
#B382EB #EBE882 #86EB82
monochromatic
#7321D1 #934DE3 #B382EB #D3B7F3 #EFE5FB

Accessibility & contrast

On white

2.87
#B382EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B382EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382EB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382EB#FFFFFF#000000##000000
##B382EB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#AA94AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b382eb;
/* rgb */ color: rgb(179, 130, 235);
/* oklch */ color: oklch(69.7% 0.156 304.2);
Tailwind
colors: {
  custom: {
    50: '#cca7f2',
    500: '#b382eb',
    950: '#000000',
  },
}
SCSS
$custom: #b382eb;
$custom-light: #cca7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b382eb",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 268,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6967,
    "c": 0.15595,
    "h": 304.2
  },
  "luminance": 0.31547
}

Semantic roles & 50–950 ramp

primary
#B382EB
secondary
#E5F2D7
accent
#D41179
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382EB

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

Preview Lab → · Contrast checker → · Palette generator →

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