#B382F5#B382F5

#B382F5 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.168 H 301.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B382F5
RGBrgb(179, 130, 245)
HSLhsl(266, 85%, 74%)
HSVhsv(266, 47%, 96%)
CMYKcmyk(26.9%, 46.9%, 0%, 3.9%)
CIE-LABlab(63.46, 41.49, -50.91)
CIE-LCHlch(63.46, 65.67, 309.18°)
OKLaboklab(70.2% 0.0889 -0.1428)
OKLCHoklch(70.2% 0.168 301.9)
XYZxyz(43.0508, 32.1415, 90.3044)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382F5 #C4F582
analogous
#828AF5 #B382F5 #EC82F5
triadic
#B382F5 #F5B382 #82F5B3
tetradic
#B382F5 #F5828A #C4F582 #82F5EC
square
#B382F5 #F5828A #C4F582 #82F5EC
split-complementary
#B382F5 #F5EC82 #8AF582
monochromatic
#6E13EA #9149F0 #B382F5 #D5BBFA #EEE3FD

Accessibility & contrast

On white

2.83
#B382F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B382F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382F5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382F5#FFFFFF#000000##000000
##B382F51.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#A796B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b382f5;
/* rgb */ color: rgb(179, 130, 245);
/* oklch */ color: oklch(70.2% 0.168 301.9);
Tailwind
colors: {
  custom: {
    50: '#cca7f9',
    500: '#b382f5',
    950: '#000000',
  },
}
SCSS
$custom: #b382f5;
$custom-light: #cca7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b382f5",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 265.565,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70199,
    "c": 0.16824,
    "h": 301.9
  },
  "luminance": 0.32142
}

Semantic roles & 50–950 ramp

primary
#B382F5
secondary
#E8F5D6
accent
#E20483
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382F5

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

Preview Lab → · Contrast checker → · Palette generator →

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