#B382E6#B382E6

#B382E6 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.150 H 305.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B382E6
RGBrgb(179, 130, 230)
HSLhsl(269, 67%, 71%)
HSVhsv(269, 43%, 90%)
CMYKcmyk(22.2%, 43.5%, 0%, 9.8%)
CIE-LABlab(62.73, 37.99, -43.77)
CIE-LCHlch(62.73, 57.96, 310.96°)
OKLaboklab(69.41% 0.0869 -0.1221)
OKLCHoklch(69.41% 0.15 305.4)
XYZxyz(40.8530, 31.2624, 78.7296)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B382E6 #B5E682
analogous
#8283E6 #B382E6 #E582E6
triadic
#B382E6 #E6B382 #82E6B3
tetradic
#B382E6 #E68283 #B5E682 #82E6E5
square
#B382E6 #E68283 #B5E682 #82E6E5
split-complementary
#B382E6 #E6E582 #83E682
monochromatic
#7528C6 #944FDC #B382E6 #D2B5F0 #EFE5FA

Accessibility & contrast

On white

2.90
#B382E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B382E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B382E6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B382E6#FFFFFF#000000##000000
##B382E61.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996EA
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#AB92A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b382e6;
/* rgb */ color: rgb(179, 130, 230);
/* oklch */ color: oklch(69.4% 0.150 305.4);
Tailwind
colors: {
  custom: {
    50: '#cba7ee',
    500: '#b382e6',
    950: '#000000',
  },
}
SCSS
$custom: #b382e6;
$custom-light: #cba7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b382e6",
  "rgb": {
    "r": 179,
    "g": 130,
    "b": 230
  },
  "hsl": {
    "h": 269.4,
    "s": 66.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69413,
    "c": 0.14981,
    "h": 305.4
  },
  "luminance": 0.31262
}

Semantic roles & 50–950 ramp

primary
#B382E6
secondary
#E2EFD4
accent
#CF1775
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B382E6

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

Preview Lab → · Contrast checker → · Palette generator →

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