#B481DB#B481DB

#B481DB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.138 H 309.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B481DB
RGBrgb(180, 129, 219)
HSLhsl(274, 56%, 68%)
HSVhsv(274, 41%, 86%)
CMYKcmyk(17.8%, 41.1%, 0%, 14.1%)
CIE-LABlab(62.10, 36.35, -38.63)
CIE-LCHlch(62.10, 53.05, 313.26°)
OKLaboklab(68.8% 0.0875 -0.1072)
OKLCHoklch(68.8% 0.138 309.2)
XYZxyz(39.4565, 30.5188, 70.8162)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481DB #A8DB81
analogous
#8781DB #B481DB #DB81D5
triadic
#B481DB #DBB481 #81DBB4
tetradic
#B481DB #DB8781 #A8DB81 #81D5DB
square
#B481DB #DB8781 #A8DB81 #81D5DB
split-complementary
#B481DB #D5DB81 #81DB87
monochromatic
#7932AF #9851CD #B481DB #D0B1E9 #EDE0F6

Accessibility & contrast

On white

2.96
#B481DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B481DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481DB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481DB#FFFFFF#000000##000000
##B481DB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b481db;
/* rgb */ color: rgb(180, 129, 219);
/* oklch */ color: oklch(68.8% 0.138 309.2);
Tailwind
colors: {
  custom: {
    50: '#cca6e6',
    500: '#b481db',
    950: '#000000',
  },
}
SCSS
$custom: #b481db;
$custom-light: #cca6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b481db",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 274,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68797,
    "c": 0.13837,
    "h": 309.2
  },
  "luminance": 0.30518
}

Semantic roles & 50–950 ramp

primary
#B481DB
secondary
#DAEACE
accent
#C32268
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B481DB

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

Preview Lab → · Contrast checker → · Palette generator →

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