#B382E9#B382E9

#B382E9 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.153 H 304.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B382E9
RGBrgb(179, 130, 233)
HSLhsl(269, 70%, 71%)
HSVhsv(269, 44%, 91%)
CMYKcmyk(23.2%, 44.2%, 0%, 8.6%)
CIE-LABlab(62.87, 38.68, -45.21)
CIE-LCHlch(62.87, 59.50, 310.55°)
OKLaboklab(69.57% 0.0873 -0.1262)
OKLCHoklch(69.57% 0.153 304.7)
XYZxyz(41.2779, 31.4323, 80.9674)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382E9 #B8E982
analogous
#8284E9 #B382E9 #E782E9
triadic
#B382E9 #E9B382 #82E9B3
tetradic
#B382E9 #E98284 #B8E982 #82E9E7
square
#B382E9 #E98284 #B8E982 #82E9E7
split-complementary
#B382E9 #E9E782 #84E982
monochromatic
#7424CD #934EE0 #B382E9 #D3B6F2 #EFE5FA

Accessibility & contrast

On white

2.88
#B382E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B382E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382E9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382E9#FFFFFF#000000##000000
##B382E91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797ED
Deuteranopia (green-blind)
#7398E6
Tritanopia (blue-blind)
#AA93AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b382e9;
/* rgb */ color: rgb(179, 130, 233);
/* oklch */ color: oklch(69.6% 0.153 304.7);
Tailwind
colors: {
  custom: {
    50: '#cca7f0',
    500: '#b382e9',
    950: '#000000',
  },
}
SCSS
$custom: #b382e9;
$custom-light: #cca7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b382e9",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 233
  },
  "hsl": {
    "h": 268.544,
    "s": 70.068,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69566,
    "c": 0.15349,
    "h": 304.7
  },
  "luminance": 0.31432
}

Semantic roles & 50–950 ramp

primary
#B382E9
secondary
#E4F1D6
accent
#D21377
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B382E9

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

Preview Lab → · Contrast checker → · Palette generator →

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