#B382FB#B382FB

#B382FB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.176 H 300.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B382FB
RGBrgb(179, 130, 251)
HSLhsl(264, 94%, 75%)
HSVhsv(264, 48%, 98%)
CMYKcmyk(28.7%, 48.2%, 0%, 1.6%)
CIE-LABlab(63.77, 42.92, -53.72)
CIE-LCHlch(63.77, 68.76, 308.62°)
OKLaboklab(70.53% 0.0896 -0.151)
OKLCHoklch(70.53% 0.176 300.7)
XYZxyz(43.9816, 32.5138, 95.2068)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382FB #CAFB82
analogous
#828DFB #B382FB #F082FB
triadic
#B382FB #FBB382 #82FBB3
tetradic
#B382FB #FB828D #CAFB82 #82FBF0
square
#B382FB #FB828D #CAFB82 #82FBF0
split-complementary
#B382FB #FBF082 #8DFB82
monochromatic
#6B0BF7 #8F47F9 #B382FB #D7BDFD #EDE1FE

Accessibility & contrast

On white

2.80
#B382FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B382FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382FB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382FB#FFFFFF#000000##000000
##B382FB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#A598B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b382fb;
/* rgb */ color: rgb(179, 130, 251);
/* oklch */ color: oklch(70.5% 0.176 300.7);
Tailwind
colors: {
  custom: {
    50: '#cda7fd',
    500: '#b382fb',
    950: '#000000',
  },
}
SCSS
$custom: #b382fb;
$custom-light: #cda7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b382fb",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 264.298,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70527,
    "c": 0.1756,
    "h": 300.7
  },
  "luminance": 0.32514
}

Semantic roles & 50–950 ramp

primary
#B382FB
secondary
#E9F6D5
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B382FB

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

Preview Lab → · Contrast checker → · Palette generator →

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