#B382F9#B382F9

#B382F9 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.173 H 301.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B382F9
RGBrgb(179, 130, 249)
HSLhsl(265, 91%, 74%)
HSVhsv(265, 48%, 98%)
CMYKcmyk(28.1%, 47.8%, 0%, 2.4%)
CIE-LABlab(63.66, 42.44, -52.79)
CIE-LCHlch(63.66, 67.73, 308.80°)
OKLaboklab(70.42% 0.0894 -0.1483)
OKLCHoklch(70.42% 0.173 301.1)
XYZxyz(43.6680, 32.3884, 93.5552)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382F9 #C8F982
analogous
#828DF9 #B382F9 #EF82F9
triadic
#B382F9 #F9B382 #82F9B3
tetradic
#B382F9 #F9828D #C8F982 #82F9EF
square
#B382F9 #F9828D #C8F982 #82F9EF
split-complementary
#B382F9 #F9EF82 #8DF982
monochromatic
#6C0DF3 #8F48F6 #B382F9 #D7BCFC #EDE2FE

Accessibility & contrast

On white

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

On black

7.48
#B382F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382F9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382F9#FFFFFF#000000##000000
##B382F91.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#699AF6
Tritanopia (blue-blind)
#A698B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b382f9;
/* rgb */ color: rgb(179, 130, 249);
/* oklch */ color: oklch(70.4% 0.173 301.1);
Tailwind
colors: {
  custom: {
    50: '#cca7fc',
    500: '#b382f9',
    950: '#000000',
  },
}
SCSS
$custom: #b382f9;
$custom-light: #cca7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b382f9",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 264.706,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.17315,
    "h": 301.1
  },
  "luminance": 0.32389
}

Semantic roles & 50–950 ramp

primary
#B382F9
secondary
#E8F6D5
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382F9

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

Preview Lab → · Contrast checker → · Palette generator →

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