#B381FD#B381FD

#B381FD is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.180 H 300.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B381FD
RGBrgb(179, 129, 253)
HSLhsl(264, 97%, 75%)
HSVhsv(264, 49%, 99%)
CMYKcmyk(29.2%, 49%, 0%, 0.8%)
CIE-LABlab(63.65, 43.95, -55.00)
CIE-LCHlch(63.65, 70.40, 308.63°)
OKLaboklab(70.48% 0.0911 -0.1547)
OKLCHoklch(70.48% 0.18 300.5)
XYZxyz(44.1662, 32.3758, 96.8318)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381FD #CBFD81
analogous
#818DFD #B381FD #F181FD
triadic
#B381FD #FDB381 #81FDB3
tetradic
#B381FD #FD818D #CBFD81 #81FDF1
square
#B381FD #FD818D #CBFD81 #81FDF1
split-complementary
#B381FD #FDF181 #8DFD81
monochromatic
#6A09FB #8F45FC #B381FD #D7BDFE #EDE1FF

Accessibility & contrast

On white

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

On black

7.48
#B381FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B381FD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381FD#FFFFFF#000000##000000
##B381FD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#A498B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b381fd;
/* rgb */ color: rgb(179, 129, 253);
/* oklch */ color: oklch(70.5% 0.180 300.5);
Tailwind
colors: {
  custom: {
    50: '#cda7fe',
    500: '#b381fd',
    950: '#000000',
  },
}
SCSS
$custom: #b381fd;
$custom-light: #cda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b381fd",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 264.194,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70476,
    "c": 0.17957,
    "h": 300.5
  },
  "luminance": 0.32376
}

Semantic roles & 50–950 ramp

primary
#B381FD
secondary
#E9F7D4
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B381FD

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

Preview Lab → · Contrast checker → · Palette generator →

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