#B382EC#B382EC

#B382EC is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.157 H 303.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B382EC
RGBrgb(179, 130, 236)
HSLhsl(268, 74%, 72%)
HSVhsv(268, 45%, 93%)
CMYKcmyk(24.2%, 44.9%, 0%, 7.5%)
CIE-LABlab(63.02, 39.38, -46.64)
CIE-LCHlch(63.02, 61.04, 310.17°)
OKLaboklab(69.72% 0.0878 -0.1304)
OKLCHoklch(69.72% 0.157 303.9)
XYZxyz(41.7101, 31.6052, 83.2437)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382EC #BBEC82
analogous
#8286EC #B382EC #E882EC
triadic
#B382EC #ECB382 #82ECB3
tetradic
#B382EC #EC8286 #BBEC82 #82ECE8
square
#B382EC #EC8286 #BBEC82 #82ECE8
split-complementary
#B382EC #ECE882 #86EC82
monochromatic
#7320D3 #934DE4 #B382EC #D3B7F4 #EFE4FB

Accessibility & contrast

On white

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

On black

7.32
#B382EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382EC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382EC#FFFFFF#000000##000000
##B382EC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#A994AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b382ec;
/* rgb */ color: rgb(179, 130, 236);
/* oklch */ color: oklch(69.7% 0.157 303.9);
Tailwind
colors: {
  custom: {
    50: '#cca7f2',
    500: '#b382ec',
    950: '#000000',
  },
}
SCSS
$custom: #b382ec;
$custom-light: #cca7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b382ec",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 267.736,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69722,
    "c": 0.15718,
    "h": 303.9
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#B382EC
secondary
#E6F2D7
accent
#D6107A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382EC

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

Preview Lab → · Contrast checker → · Palette generator →

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