#B382FD#B382FD

#B382FD is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.6% C 0.178 H 300.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B382FD
RGBrgb(179, 130, 253)
HSLhsl(264, 97%, 75%)
HSVhsv(264, 49%, 99%)
CMYKcmyk(29.2%, 48.6%, 0%, 0.8%)
CIE-LABlab(63.87, 43.40, -54.66)
CIE-LCHlch(63.87, 69.79, 308.45°)
OKLaboklab(70.64% 0.0898 -0.1537)
OKLCHoklch(70.64% 0.178 300.3)
XYZxyz(44.2985, 32.6406, 96.8759)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382FD #CCFD82
analogous
#828FFD #B382FD #F082FD
triadic
#B382FD #FDB382 #82FDB3
tetradic
#B382FD #FD828F #CCFD82 #82FDF0
square
#B382FD #FD828F #CCFD82 #82FDF0
split-complementary
#B382FD #FDF082 #8FFD82
monochromatic
#6A0AFB #8E46FC #B382FD #D8BEFE #EDE1FF

Accessibility & contrast

On white

2.79
#B382FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B382FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382FD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382FD#FFFFFF#000000##000000
##B382FD1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#A499B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b382fd;
/* rgb */ color: rgb(179, 130, 253);
/* oklch */ color: oklch(70.6% 0.178 300.3);
Tailwind
colors: {
  custom: {
    50: '#cda7fe',
    500: '#b382fd',
    950: '#000000',
  },
}
SCSS
$custom: #b382fd;
$custom-light: #cda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b382fd",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 263.902,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.17805,
    "h": 300.3
  },
  "luminance": 0.32641
}

Semantic roles & 50–950 ramp

primary
#B382FD
secondary
#E9F7D4
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B382FD

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

Preview Lab → · Contrast checker → · Palette generator →

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