#B382FE#B382FE

#B382FE is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.179 H 300.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B382FE
RGBrgb(179, 130, 254)
HSLhsl(264, 98%, 75%)
HSVhsv(264, 49%, 100%)
CMYKcmyk(29.5%, 48.8%, 0%, 0.4%)
CIE-LABlab(63.92, 43.64, -55.12)
CIE-LCHlch(63.92, 70.31, 308.37°)
OKLaboklab(70.69% 0.0899 -0.1551)
OKLCHoklch(70.69% 0.179 300.1)
XYZxyz(44.4582, 32.7045, 97.7171)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382FE #CDFE82
analogous
#828FFE #B382FE #F182FE
triadic
#B382FE #FEB382 #82FEB3
tetradic
#B382FE #FE828F #CDFE82 #82FEF1
square
#B382FE #FE828F #CDFE82 #82FEF1
split-complementary
#B382FE #FEF182 #8FFE82
monochromatic
#6909FD #8E45FE #B382FE #D8BFFE #EDE1FF

Accessibility & contrast

On white

2.78
#B382FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#B382FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382FE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382FE#FFFFFF#000000##000000
##B382FE1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#A499B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b382fe;
/* rgb */ color: rgb(179, 130, 254);
/* oklch */ color: oklch(70.7% 0.179 300.1);
Tailwind
colors: {
  custom: {
    50: '#cda7ff',
    500: '#b382fe',
    950: '#000000',
  },
}
SCSS
$custom: #b382fe;
$custom-light: #cda7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b382fe",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 263.71,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.17927,
    "h": 300.1
  },
  "luminance": 0.32705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B382FE

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

Preview Lab → · Contrast checker → · Palette generator →

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