#B382F4#B382F4

#B382F4 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.167 H 302.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B382F4
RGBrgb(179, 130, 244)
HSLhsl(266, 84%, 73%)
HSVhsv(266, 47%, 96%)
CMYKcmyk(26.6%, 46.7%, 0%, 4.3%)
CIE-LABlab(63.41, 41.25, -50.44)
CIE-LCHlch(63.41, 65.16, 309.28°)
OKLaboklab(70.15% 0.0888 -0.1414)
OKLCHoklch(70.15% 0.167 302.1)
XYZxyz(42.8985, 32.0806, 89.5026)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382F4 #C3F482
analogous
#828AF4 #B382F4 #EC82F4
triadic
#B382F4 #F4B382 #82F4B3
tetradic
#B382F4 #F4828A #C3F482 #82F4EC
square
#B382F4 #F4828A #C3F482 #82F4EC
split-complementary
#B382F4 #F4EC82 #8AF482
monochromatic
#6F14E7 #914AEF #B382F4 #D5BAF9 #EEE3FD

Accessibility & contrast

On white

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

On black

7.42
#B382F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382F4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382F4#FFFFFF#000000##000000
##B382F41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#A796AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b382f4;
/* rgb */ color: rgb(179, 130, 244);
/* oklch */ color: oklch(70.1% 0.167 302.1);
Tailwind
colors: {
  custom: {
    50: '#cca7f8',
    500: '#b382f4',
    950: '#000000',
  },
}
SCSS
$custom: #b382f4;
$custom-light: #cca7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b382f4",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 244
  },
  "hsl": {
    "h": 265.789,
    "s": 83.824,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70145,
    "c": 0.16701,
    "h": 302.1
  },
  "luminance": 0.32081
}

Semantic roles & 50–950 ramp

primary
#B382F4
secondary
#E8F4D7
accent
#E00582
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382F4

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

Preview Lab → · Contrast checker → · Palette generator →

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