#B481DC#B481DC

#B481DC is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.8% C 0.140 H 308.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B481DC
RGBrgb(180, 129, 220)
HSLhsl(274, 57%, 68%)
HSVhsv(274, 41%, 86%)
CMYKcmyk(18.2%, 41.4%, 0%, 13.7%)
CIE-LABlab(62.14, 36.58, -39.12)
CIE-LCHlch(62.14, 53.55, 313.08°)
OKLaboklab(68.85% 0.0877 -0.1086)
OKLCHoklch(68.85% 0.14 308.9)
XYZxyz(39.5885, 30.5716, 71.5116)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481DC #A9DC81
analogous
#8681DC #B481DC #DC81D7
triadic
#B481DC #DCB481 #81DCB4
tetradic
#B481DC #DC8681 #A9DC81 #81D7DC
square
#B481DC #DC8681 #A9DC81 #81D7DC
split-complementary
#B481DC #D7DC81 #81DC86
monochromatic
#7931B1 #9751CF #B481DC #D1B1E9 #EDE1F7

Accessibility & contrast

On white

2.95
#B481DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B481DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481DC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481DC#FFFFFF#000000##000000
##B481DC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b481dc;
/* rgb */ color: rgb(180, 129, 220);
/* oklch */ color: oklch(68.8% 0.140 308.9);
Tailwind
colors: {
  custom: {
    50: '#cca6e7',
    500: '#b481dc',
    950: '#000000',
  },
}
SCSS
$custom: #b481dc;
$custom-light: #cca6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b481dc",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 273.626,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68846,
    "c": 0.13959,
    "h": 308.9
  },
  "luminance": 0.30571
}

Semantic roles & 50–950 ramp

primary
#B481DC
secondary
#DBEACF
accent
#C42169
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B481DC

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

Preview Lab → · Contrast checker → · Palette generator →

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