#B382FC#B382FC

#B382FC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.6% C 0.177 H 300.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B382FC
RGBrgb(179, 130, 252)
HSLhsl(264, 95%, 75%)
HSVhsv(264, 48%, 99%)
CMYKcmyk(29%, 48.4%, 0%, 1.2%)
CIE-LABlab(63.82, 43.16, -54.19)
CIE-LCHlch(63.82, 69.28, 308.54°)
OKLaboklab(70.58% 0.0897 -0.1524)
OKLCHoklch(70.58% 0.177 300.5)
XYZxyz(44.1396, 32.5770, 96.0391)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382FC #CBFC82
analogous
#828EFC #B382FC #F082FC
triadic
#B382FC #FCB382 #82FCB3
tetradic
#B382FC #FC828E #CBFC82 #82FCF0
square
#B382FC #FC828E #CBFC82 #82FCF0
split-complementary
#B382FC #FCF082 #8EFC82
monochromatic
#6A0AF9 #8F46FB #B382FC #D7BEFD #EDE1FE

Accessibility & contrast

On white

2.79
#B382FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B382FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382FC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382FC#FFFFFF#000000##000000
##B382FC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#A598B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b382fc;
/* rgb */ color: rgb(179, 130, 252);
/* oklch */ color: oklch(70.6% 0.177 300.5);
Tailwind
colors: {
  custom: {
    50: '#cda7fe',
    500: '#b382fc',
    950: '#000000',
  },
}
SCSS
$custom: #b382fc;
$custom-light: #cda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b382fc",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 264.098,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.17682,
    "h": 300.5
  },
  "luminance": 0.32577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B382FC

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

Preview Lab → · Contrast checker → · Palette generator →

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