#B382F3#B382F3

#B382F3 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.166 H 302.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B382F3
RGBrgb(179, 130, 243)
HSLhsl(266, 82%, 73%)
HSVhsv(266, 47%, 95%)
CMYKcmyk(26.3%, 46.5%, 0%, 4.7%)
CIE-LABlab(63.36, 41.02, -49.97)
CIE-LCHlch(63.36, 64.64, 309.38°)
OKLaboklab(70.09% 0.0887 -0.1401)
OKLCHoklch(70.09% 0.166 302.3)
XYZxyz(42.7471, 32.0200, 88.7051)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382F3 #C2F382
analogous
#8289F3 #B382F3 #EC82F3
triadic
#B382F3 #F3B382 #82F3B3
tetradic
#B382F3 #F38289 #C2F382 #82F3EC
square
#B382F3 #F38289 #C2F382 #82F3EC
split-complementary
#B382F3 #F3EC82 #89F382
monochromatic
#7016E5 #914AEE #B382F3 #D5BAF8 #EEE3FC

Accessibility & contrast

On white

2.84
#B382F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B382F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382F3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382F3#FFFFFF#000000##000000
##B382F31.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#A796AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b382f3;
/* rgb */ color: rgb(179, 130, 243);
/* oklch */ color: oklch(70.1% 0.166 302.3);
Tailwind
colors: {
  custom: {
    50: '#cca7f7',
    500: '#b382f3',
    950: '#000000',
  },
}
SCSS
$custom: #b382f3;
$custom-light: #cca7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b382f3",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 243
  },
  "hsl": {
    "h": 266.018,
    "s": 82.482,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.16578,
    "h": 302.3
  },
  "luminance": 0.3202
}

Semantic roles & 50–950 ramp

primary
#B382F3
secondary
#E7F4D7
accent
#DF0781
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B382F3

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

Preview Lab → · Contrast checker → · Palette generator →

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