#B384EC#B384EC

#B384EC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.154 H 303.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B384EC
RGBrgb(179, 132, 236)
HSLhsl(267, 73%, 72%)
HSVhsv(267, 44%, 93%)
CMYKcmyk(24.2%, 44.1%, 0%, 7.5%)
CIE-LABlab(63.46, 38.27, -45.94)
CIE-LCHlch(63.46, 59.80, 309.80°)
OKLaboklab(70.06% 0.085 -0.1284)
OKLCHoklch(70.06% 0.154 303.5)
XYZxyz(41.9787, 32.1424, 83.3332)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B384EC #BDEC84
analogous
#8489EC #B384EC #E784EC
triadic
#B384EC #ECB384 #84ECB3
tetradic
#B384EC #EC8489 #BDEC84 #84ECE7
square
#B384EC #EC8489 #BDEC84 #84ECE7
split-complementary
#B384EC #ECE784 #89EC84
monochromatic
#7221D5 #924FE4 #B384EC #D4B9F4 #EFE4FB

Accessibility & contrast

On white

2.83
#B384EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B384EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B384EC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B384EC#FFFFFF#000000##000000
##B384EC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F0
Deuteranopia (green-blind)
#739AE9
Tritanopia (blue-blind)
#A996AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b384ec;
/* rgb */ color: rgb(179, 132, 236);
/* oklch */ color: oklch(70.1% 0.154 303.5);
Tailwind
colors: {
  custom: {
    50: '#cca8f2',
    500: '#b384ec',
    950: '#000000',
  },
}
SCSS
$custom: #b384ec;
$custom-light: #cca8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b384ec",
  "rgb": {
    "r": 179,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 267.115,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70056,
    "c": 0.15397,
    "h": 303.5
  },
  "luminance": 0.32142
}

Semantic roles & 50–950 ramp

primary
#B384EC
secondary
#E7F3D8
accent
#D5107C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B384EC

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

Preview Lab → · Contrast checker → · Palette generator →

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