#B382D9#B382D9

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

Color values

HEX#B382D9
RGBrgb(179, 130, 217)
HSLhsl(274, 53%, 68%)
HSVhsv(274, 40%, 85%)
CMYKcmyk(17.5%, 40.1%, 0%, 14.9%)
CIE-LABlab(62.13, 35.06, -37.46)
CIE-LCHlch(62.13, 51.31, 313.10°)
OKLaboklab(68.77% 0.0845 -0.1038)
OKLCHoklch(68.77% 0.134 309.2)
XYZxyz(39.0951, 30.5592, 69.4712)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382D9 #A8D982
analogous
#8782D9 #B382D9 #D982D3
triadic
#B382D9 #D9B382 #82D9B3
tetradic
#B382D9 #D98782 #A8D982 #82D3D9
square
#B382D9 #D98782 #A8D982 #82D3D9
split-complementary
#B382D9 #D3D982 #82D987
monochromatic
#7834AC #9653CB #B382D9 #D0B1E7 #ECE0F6

Accessibility & contrast

On white

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

On black

7.11
#B382D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382D9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382D9#FFFFFF#000000##000000
##B382D91.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DC
Deuteranopia (green-blind)
#7B97D7
Tritanopia (blue-blind)
#AE8FA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b382d9;
/* rgb */ color: rgb(179, 130, 217);
/* oklch */ color: oklch(68.8% 0.134 309.2);
Tailwind
colors: {
  custom: {
    50: '#cba7e5',
    500: '#b382d9',
    950: '#000000',
  },
}
SCSS
$custom: #b382d9;
$custom-light: #cba7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b382d9",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 217
  },
  "hsl": {
    "h": 273.793,
    "s": 53.374,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6877,
    "c": 0.13389,
    "h": 309.2
  },
  "luminance": 0.30559
}

Semantic roles & 50–950 ramp

primary
#B382D9
secondary
#DAE9CE
accent
#C12569
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F15
muted
#827F84

Preview Lab

Preview with #B382D9

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

Preview Lab → · Contrast checker → · Palette generator →

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