#B382EA#B382EA

#B382EA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.155 H 304.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B382EA
RGBrgb(179, 130, 234)
HSLhsl(268, 71%, 71%)
HSVhsv(268, 44%, 92%)
CMYKcmyk(23.5%, 44.4%, 0%, 8.2%)
CIE-LABlab(62.92, 38.91, -45.69)
CIE-LCHlch(62.92, 60.01, 310.42°)
OKLaboklab(69.62% 0.0875 -0.1276)
OKLCHoklch(69.62% 0.155 304.4)
XYZxyz(41.4212, 31.4896, 81.7219)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382EA #B9EA82
analogous
#8285EA #B382EA #E782EA
triadic
#B382EA #EAB382 #82EAB3
tetradic
#B382EA #EA8285 #B9EA82 #82EAE7
square
#B382EA #EA8285 #B9EA82 #82EAE7
split-complementary
#B382EA #EAE782 #85EA82
monochromatic
#7423CF #934EE1 #B382EA #D3B6F3 #EFE5FB

Accessibility & contrast

On white

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

On black

7.30
#B382EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382EA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382EA#FFFFFF#000000##000000
##B382EA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#AA93AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b382ea;
/* rgb */ color: rgb(179, 130, 234);
/* oklch */ color: oklch(69.6% 0.155 304.4);
Tailwind
colors: {
  custom: {
    50: '#cca7f1',
    500: '#b382ea',
    950: '#000000',
  },
}
SCSS
$custom: #b382ea;
$custom-light: #cca7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b382ea",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 268.269,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69618,
    "c": 0.15471,
    "h": 304.4
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#B382EA
secondary
#E5F1D6
accent
#D31278
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382EA

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

Preview Lab → · Contrast checker → · Palette generator →

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