#B382EE#B382EE

#B382EE is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.160 H 303.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B382EE
RGBrgb(179, 130, 238)
HSLhsl(267, 76%, 72%)
HSVhsv(267, 45%, 93%)
CMYKcmyk(24.8%, 45.4%, 0%, 6.7%)
CIE-LABlab(63.11, 39.84, -47.60)
CIE-LCHlch(63.11, 62.07, 309.93°)
OKLaboklab(69.83% 0.088 -0.1332)
OKLCHoklch(69.83% 0.16 303.5)
XYZxyz(42.0023, 31.7221, 84.7825)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382EE #BDEE82
analogous
#8287EE #B382EE #E982EE
triadic
#B382EE #EEB382 #82EEB3
tetradic
#B382EE #EE8287 #BDEE82 #82EEE9
square
#B382EE #EE8287 #BDEE82 #82EEE9
split-complementary
#B382EE #EEE982 #87EE82
monochromatic
#721DD8 #924CE7 #B382EE #D4B8F5 #EFE4FB

Accessibility & contrast

On white

2.86
#B382EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B382EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382EE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382EE#FFFFFF#000000##000000
##B382EE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F2
Deuteranopia (green-blind)
#7099EB
Tritanopia (blue-blind)
#A995AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b382ee;
/* rgb */ color: rgb(179, 130, 238);
/* oklch */ color: oklch(69.8% 0.160 303.5);
Tailwind
colors: {
  custom: {
    50: '#cca7f4',
    500: '#b382ee',
    950: '#000000',
  },
}
SCSS
$custom: #b382ee;
$custom-light: #cca7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b382ee",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 267.222,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69826,
    "c": 0.15964,
    "h": 303.5
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#B382EE
secondary
#E7F3D8
accent
#D80D7C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382EE

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

Preview Lab → · Contrast checker → · Palette generator →

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