#B382DA#B382DA

#B382DA is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.8% C 0.135 H 308.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B382DA
RGBrgb(179, 130, 218)
HSLhsl(273, 54%, 68%)
HSVhsv(273, 40%, 85%)
CMYKcmyk(17.9%, 40.4%, 0%, 14.5%)
CIE-LABlab(62.18, 35.29, -37.95)
CIE-LCHlch(62.18, 51.82, 312.91°)
OKLaboklab(68.82% 0.0847 -0.1052)
OKLCHoklch(68.82% 0.135 308.8)
XYZxyz(39.2256, 30.6114, 70.1582)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382DA #A9DA82
analogous
#8782DA #B382DA #DA82D5
triadic
#B382DA #DAB382 #82DAB3
tetradic
#B382DA #DA8782 #A9DA82 #82D5DA
square
#B382DA #DA8782 #A9DA82 #82D5DA
split-complementary
#B382DA #D5DA82 #82DA87
monochromatic
#7834AE #9653CC #B382DA #D0B1E8 #ECE0F6

Accessibility & contrast

On white

2.95
#B382DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#B382DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382DA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382DA#FFFFFF#000000##000000
##B382DA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DD
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#AE8FA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b382da;
/* rgb */ color: rgb(179, 130, 218);
/* oklch */ color: oklch(68.8% 0.135 308.8);
Tailwind
colors: {
  custom: {
    50: '#cba7e6',
    500: '#b382da',
    950: '#000000',
  },
}
SCSS
$custom: #b382da;
$custom-light: #cba7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b382da",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 218
  },
  "hsl": {
    "h": 273.409,
    "s": 54.321,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68818,
    "c": 0.13512,
    "h": 308.8
  },
  "luminance": 0.30611
}

Semantic roles & 50–950 ramp

primary
#B382DA
secondary
#DAE9CF
accent
#C2246A
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B382DA

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

Preview Lab → · Contrast checker → · Palette generator →

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