#B382DC#B382DC

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

Color values

HEX#B382DC
RGBrgb(179, 130, 220)
HSLhsl(273, 56%, 69%)
HSVhsv(273, 41%, 86%)
CMYKcmyk(18.6%, 40.9%, 0%, 13.7%)
CIE-LABlab(62.27, 35.73, -38.93)
CIE-LCHlch(62.27, 52.84, 312.55°)
OKLaboklab(68.92% 0.0851 -0.1081)
OKLCHoklch(68.92% 0.138 308.2)
XYZxyz(39.4888, 30.7167, 71.5449)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382DC #ABDC82
analogous
#8682DC #B382DC #DC82D8
triadic
#B382DC #DCB382 #82DCB3
tetradic
#B382DC #DC8682 #ABDC82 #82D8DC
square
#B382DC #DC8682 #ABDC82 #82D8DC
split-complementary
#B382DC #D8DC82 #82DC86
monochromatic
#7732B2 #9652CF #B382DC #D0B2E9 #EDE2F7

Accessibility & contrast

On white

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

On black

7.14
#B382DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382DC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382DC#FFFFFF#000000##000000
##B382DC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#AE90A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b382dc;
/* rgb */ color: rgb(179, 130, 220);
/* oklch */ color: oklch(68.9% 0.138 308.2);
Tailwind
colors: {
  custom: {
    50: '#cba7e7',
    500: '#b382dc',
    950: '#000000',
  },
}
SCSS
$custom: #b382dc;
$custom-light: #cba7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b382dc",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 272.667,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.13756,
    "h": 308.2
  },
  "luminance": 0.30716
}

Semantic roles & 50–950 ramp

primary
#B382DC
secondary
#DCEACF
accent
#C4226C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B382DC

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

Preview Lab → · Contrast checker → · Palette generator →

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