#B382EF#B382EF

#B382EF is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.9% C 0.161 H 303.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B382EF
RGBrgb(179, 130, 239)
HSLhsl(267, 77%, 72%)
HSVhsv(267, 46%, 94%)
CMYKcmyk(25.1%, 45.6%, 0%, 6.3%)
CIE-LABlab(63.16, 40.08, -48.07)
CIE-LCHlch(63.16, 62.59, 309.82°)
OKLaboklab(69.88% 0.0882 -0.1345)
OKLCHoklch(69.88% 0.161 303.2)
XYZxyz(42.1496, 31.7810, 85.5584)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382EF #BEEF82
analogous
#8288EF #B382EF #E982EF
triadic
#B382EF #EFB382 #82EFB3
tetradic
#B382EF #EF8288 #BEEF82 #82EFE9
square
#B382EF #EF8288 #BEEF82 #82EFE9
split-complementary
#B382EF #EFE982 #88EF82
monochromatic
#721CDB #924CE8 #B382EF #D4B8F6 #EFE4FC

Accessibility & contrast

On white

2.85
#B382EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B382EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382EF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382EF#FFFFFF#000000##000000
##B382EF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#A995AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b382ef;
/* rgb */ color: rgb(179, 130, 239);
/* oklch */ color: oklch(69.9% 0.161 303.2);
Tailwind
colors: {
  custom: {
    50: '#cca7f5',
    500: '#b382ef',
    950: '#000000',
  },
}
SCSS
$custom: #b382ef;
$custom-light: #cca7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b382ef",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 266.972,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.16087,
    "h": 303.2
  },
  "luminance": 0.31781
}

Semantic roles & 50–950 ramp

primary
#B382EF
secondary
#E7F3D8
accent
#DA0C7D
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382EF

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

Preview Lab → · Contrast checker → · Palette generator →

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