#B382FA#B382FA

#B382FA is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.174 H 300.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B382FA
RGBrgb(179, 130, 250)
HSLhsl(265, 92%, 75%)
HSVhsv(265, 48%, 98%)
CMYKcmyk(28.4%, 48%, 0%, 2%)
CIE-LABlab(63.71, 42.68, -53.26)
CIE-LCHlch(63.71, 68.25, 308.71°)
OKLaboklab(70.47% 0.0895 -0.1497)
OKLCHoklch(70.47% 0.174 300.9)
XYZxyz(43.8244, 32.4509, 94.3788)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382FA #C9FA82
analogous
#828DFA #B382FA #EF82FA
triadic
#B382FA #FAB382 #82FAB3
tetradic
#B382FA #FA828D #C9FA82 #82FAEF
square
#B382FA #FA828D #C9FA82 #82FAEF
split-complementary
#B382FA #FAEF82 #8DFA82
monochromatic
#6B0CF5 #8F47F8 #B382FA #D7BDFC #EDE2FE

Accessibility & contrast

On white

2.80
#B382FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B382FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382FA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382FA#FFFFFF#000000##000000
##B382FA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#A598B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b382fa;
/* rgb */ color: rgb(179, 130, 250);
/* oklch */ color: oklch(70.5% 0.174 300.9);
Tailwind
colors: {
  custom: {
    50: '#cca7fc',
    500: '#b382fa',
    950: '#000000',
  },
}
SCSS
$custom: #b382fa;
$custom-light: #cca7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b382fa",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 264.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70472,
    "c": 0.17437,
    "h": 300.9
  },
  "luminance": 0.32451
}

Semantic roles & 50–950 ramp

primary
#B382FA
secondary
#E9F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382FA

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

Preview Lab → · Contrast checker → · Palette generator →

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