#B384EF#B384EF

#B384EF is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.2% C 0.158 H 302.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B384EF
RGBrgb(179, 132, 239)
HSLhsl(266, 77%, 73%)
HSVhsv(266, 45%, 94%)
CMYKcmyk(25.1%, 44.8%, 0%, 6.3%)
CIE-LABlab(63.61, 38.97, -47.37)
CIE-LCHlch(63.61, 61.34, 309.44°)
OKLaboklab(70.21% 0.0855 -0.1325)
OKLCHoklch(70.21% 0.158 302.8)
XYZxyz(42.4183, 32.3183, 85.6480)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B384EF #C0EF84
analogous
#848BEF #B384EF #E884EF
triadic
#B384EF #EFB384 #84EFB3
tetradic
#B384EF #EF848B #C0EF84 #84EFE8
square
#B384EF #EF848B #C0EF84 #84EFE8
split-complementary
#B384EF #EFE884 #8BEF84
monochromatic
#711DDC #924EE8 #B384EF #D4BAF6 #EEE4FB

Accessibility & contrast

On white

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

On black

7.46
#B384EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B384EF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B384EF#FFFFFF#000000##000000
##B384EF1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#A896AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b384ef;
/* rgb */ color: rgb(179, 132, 239);
/* oklch */ color: oklch(70.2% 0.158 302.8);
Tailwind
colors: {
  custom: {
    50: '#cca8f5',
    500: '#b384ef',
    950: '#000000',
  },
}
SCSS
$custom: #b384ef;
$custom-light: #cca8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b384ef",
  "rgb": {
    "r": 179,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 266.355,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.15769,
    "h": 302.8
  },
  "luminance": 0.32318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B384EF

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

Preview Lab → · Contrast checker → · Palette generator →

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