#B382F8#B382F8

#B382F8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.4% C 0.172 H 301.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B382F8
RGBrgb(179, 130, 248)
HSLhsl(265, 89%, 74%)
HSVhsv(265, 48%, 97%)
CMYKcmyk(27.8%, 47.6%, 0%, 2.7%)
CIE-LABlab(63.61, 42.20, -52.32)
CIE-LCHlch(63.61, 67.22, 308.89°)
OKLaboklab(70.36% 0.0893 -0.1469)
OKLCHoklch(70.36% 0.172 301.3)
XYZxyz(43.5125, 32.3262, 92.7359)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382F8 #C7F882
analogous
#828CF8 #B382F8 #EE82F8
triadic
#B382F8 #F8B382 #82F8B3
tetradic
#B382F8 #F8828C #C7F882 #82F8EE
square
#B382F8 #F8828C #C7F882 #82F8EE
split-complementary
#B382F8 #F8EE82 #8CF882
monochromatic
#6D0EF2 #9048F5 #B382F8 #D6BCFB #EDE2FD

Accessibility & contrast

On white

2.81
#B382F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B382F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382F8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382F8#FFFFFF#000000##000000
##B382F81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FC
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#A697B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b382f8;
/* rgb */ color: rgb(179, 130, 248);
/* oklch */ color: oklch(70.4% 0.172 301.3);
Tailwind
colors: {
  custom: {
    50: '#cca7fb',
    500: '#b382f8',
    950: '#000000',
  },
}
SCSS
$custom: #b382f8;
$custom-light: #cca7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b382f8",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 264.915,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70362,
    "c": 0.17192,
    "h": 301.3
  },
  "luminance": 0.32326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B382F8

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

Preview Lab → · Contrast checker → · Palette generator →

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