#B381DB#B381DB

#B381DB is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.138 H 308.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B381DB
RGBrgb(179, 129, 219)
HSLhsl(273, 56%, 68%)
HSVhsv(273, 41%, 86%)
CMYKcmyk(18.3%, 41.1%, 0%, 14.1%)
CIE-LABlab(62.00, 36.06, -38.80)
CIE-LCHlch(62.00, 52.97, 312.91°)
OKLaboklab(68.7% 0.0864 -0.1077)
OKLCHoklch(68.7% 0.138 308.7)
XYZxyz(39.2244, 30.3992, 70.8054)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381DB #A9DB81
analogous
#8681DB #B381DB #DB81D6
triadic
#B381DB #DBB381 #81DBB3
tetradic
#B381DB #DB8681 #A9DB81 #81D6DB
square
#B381DB #DB8681 #A9DB81 #81D6DB
split-complementary
#B381DB #D6DB81 #81DB86
monochromatic
#7832AF #9651CD #B381DB #D0B1E9 #ECE0F6

Accessibility & contrast

On white

2.97
#B381DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B381DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B381DB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381DB#FFFFFF#000000##000000
##B381DB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#AE8FA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b381db;
/* rgb */ color: rgb(179, 129, 219);
/* oklch */ color: oklch(68.7% 0.138 308.7);
Tailwind
colors: {
  custom: {
    50: '#cba6e6',
    500: '#b381db',
    950: '#000000',
  },
}
SCSS
$custom: #b381db;
$custom-light: #cba6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b381db",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 273.333,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68697,
    "c": 0.13801,
    "h": 308.7
  },
  "luminance": 0.30399
}

Semantic roles & 50–950 ramp

primary
#B381DB
secondary
#DAEACE
accent
#C3226A
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B381DB

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

Preview Lab → · Contrast checker → · Palette generator →

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