#B481EB#B481EB

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

Color values

HEX#B481EB
RGBrgb(180, 129, 235)
HSLhsl(269, 73%, 71%)
HSVhsv(269, 45%, 92%)
CMYKcmyk(23.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(62.85, 39.97, -46.35)
CIE-LCHlch(62.85, 61.21, 310.77°)
OKLaboklab(69.6% 0.0902 -0.1295)
OKLCHoklch(69.6% 0.158 304.8)
XYZxyz(41.6649, 31.4022, 82.4474)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481EB #B8EB81
analogous
#8183EB #B481EB #E981EB
triadic
#B481EB #EBB481 #81EBB4
tetradic
#B481EB #EB8183 #B8EB81 #81EBE9
square
#B481EB #EB8183 #B8EB81 #81EBE9
split-complementary
#B481EB #EBE981 #83EB81
monochromatic
#7521D1 #954CE3 #B481EB #D3B6F3 #EFE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B481EB#FFFFFF#000000##000000
##B481EB1.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)
#6597EF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#AB93AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b481eb;
/* rgb */ color: rgb(180, 129, 235);
/* oklch */ color: oklch(69.6% 0.158 304.8);
Tailwind
colors: {
  custom: {
    50: '#cca6f2',
    500: '#b481eb',
    950: '#000000',
  },
}
SCSS
$custom: #b481eb;
$custom-light: #cca6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b481eb",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 268.868,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69602,
    "c": 0.15782,
    "h": 304.8
  },
  "luminance": 0.31402
}

Semantic roles & 50–950 ramp

primary
#B481EB
secondary
#E4F2D6
accent
#D51176
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481EB

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

Preview Lab → · Contrast checker → · Palette generator →

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