#B381ED#B381ED

#B381ED is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.160 H 303.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B381ED
RGBrgb(179, 129, 237)
HSLhsl(268, 75%, 72%)
HSVhsv(268, 46%, 93%)
CMYKcmyk(24.5%, 45.6%, 0%, 7.1%)
CIE-LABlab(62.84, 40.16, -47.47)
CIE-LCHlch(62.84, 62.18, 310.23°)
OKLaboklab(69.61% 0.0893 -0.1328)
OKLCHoklch(69.61% 0.16 303.9)
XYZxyz(41.7234, 31.3988, 83.9668)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381ED #BBED81
analogous
#8185ED #B381ED #E981ED
triadic
#B381ED #EDB381 #81EDB3
tetradic
#B381ED #ED8185 #BBED81 #81EDE9
square
#B381ED #ED8185 #BBED81 #81EDE9
split-complementary
#B381ED #EDE981 #85ED81
monochromatic
#731ED5 #934BE5 #B381ED #D3B7F5 #EFE4FB

Accessibility & contrast

On white

2.88
#B381ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B381ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B381ED
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381ED#FFFFFF#000000##000000
##B381ED1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#A994AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b381ed;
/* rgb */ color: rgb(179, 129, 237);
/* oklch */ color: oklch(69.6% 0.160 303.9);
Tailwind
colors: {
  custom: {
    50: '#cca6f3',
    500: '#b381ed',
    950: '#000000',
  },
}
SCSS
$custom: #b381ed;
$custom-light: #cca6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b381ed",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 267.778,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.16,
    "h": 303.9
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#B381ED
secondary
#E6F3D7
accent
#D70E7A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B381ED

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

Preview Lab → · Contrast checker → · Palette generator →

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