#B382DB#B382DB

#B382DB is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.9% C 0.136 H 308.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B382DB
RGBrgb(179, 130, 219)
HSLhsl(273, 55%, 68%)
HSVhsv(273, 41%, 86%)
CMYKcmyk(18.3%, 40.6%, 0%, 14.1%)
CIE-LABlab(62.22, 35.51, -38.44)
CIE-LCHlch(62.22, 52.33, 312.73°)
OKLaboklab(68.87% 0.0849 -0.1066)
OKLCHoklch(68.87% 0.136 308.5)
XYZxyz(39.3568, 30.6639, 70.8495)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382DB #AADB82
analogous
#8682DB #B382DB #DB82D6
triadic
#B382DB #DBB382 #82DBB3
tetradic
#B382DB #DB8682 #AADB82 #82D6DB
square
#B382DB #DB8682 #AADB82 #82D6DB
split-complementary
#B382DB #D6DB82 #82DB86
monochromatic
#7833B0 #9652CD #B382DB #D0B2E9 #EDE1F6

Accessibility & contrast

On white

2.94
#B382DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B382DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382DB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382DB#FFFFFF#000000##000000
##B382DB1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#AE90A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b382db;
/* rgb */ color: rgb(179, 130, 219);
/* oklch */ color: oklch(68.9% 0.136 308.5);
Tailwind
colors: {
  custom: {
    50: '#cba7e6',
    500: '#b382db',
    950: '#000000',
  },
}
SCSS
$custom: #b382db;
$custom-light: #cba7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b382db",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 273.034,
    "s": 55.28,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.13634,
    "h": 308.5
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

primary
#B382DB
secondary
#DBEACF
accent
#C3236B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B382DB

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

Preview Lab → · Contrast checker → · Palette generator →

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