#B381FF#B381FF

#B381FF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.6% C 0.182 H 300.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B381FF
RGBrgb(179, 129, 255)
HSLhsl(264, 100%, 75%)
HSVhsv(264, 49%, 100%)
CMYKcmyk(29.8%, 49.4%, 0%, 0%)
CIE-LABlab(63.76, 44.43, -55.93)
CIE-LCHlch(63.76, 71.43, 308.46°)
OKLaboklab(70.59% 0.0913 -0.1575)
OKLCHoklch(70.59% 0.182 300.1)
XYZxyz(44.4864, 32.5040, 98.5185)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381FF #CDFF81
analogous
#818EFF #B381FF #F281FF
triadic
#B381FF #FFB381 #81FFB3
tetradic
#B381FF #FF818E #CDFF81 #81FFF2
square
#B381FF #FF818E #CDFF81 #81FFF2
split-complementary
#B381FF #FFF281 #8EFF81
monochromatic
#6907FF #8E44FF #B381FF #D8BEFF #EDE0FF

Accessibility & contrast

On white

2.80
#B381FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B381FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B381FF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381FF#FFFFFF#000000##000000
##B381FF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#A499B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b381ff;
/* rgb */ color: rgb(179, 129, 255);
/* oklch */ color: oklch(70.6% 0.182 300.1);
Tailwind
colors: {
  custom: {
    50: '#cda7ff',
    500: '#b381ff',
    950: '#000000',
  },
}
SCSS
$custom: #b381ff;
$custom-light: #cda7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b381ff",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 263.81,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70588,
    "c": 0.182,
    "h": 300.1
  },
  "luminance": 0.32504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B381FF

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

Preview Lab → · Contrast checker → · Palette generator →

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