#B481EE#B481EE

#B481EE is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.161 H 304.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B481EE
RGBrgb(180, 129, 238)
HSLhsl(268, 76%, 72%)
HSVhsv(268, 46%, 93%)
CMYKcmyk(24.4%, 45.8%, 0%, 6.7%)
CIE-LABlab(62.99, 40.66, -47.78)
CIE-LCHlch(62.99, 62.74, 310.40°)
OKLaboklab(69.76% 0.0906 -0.1337)
OKLCHoklch(69.76% 0.161 304.1)
XYZxyz(42.1020, 31.5770, 84.7493)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481EE #BBEE81
analogous
#8185EE #B481EE #EA81EE
triadic
#B481EE #EEB481 #81EEB4
tetradic
#B481EE #EE8185 #BBEE81 #81EEEA
square
#B481EE #EE8185 #BBEE81 #81EEEA
split-complementary
#B481EE #EEEA81 #85EE81
monochromatic
#741DD8 #944BE7 #B481EE #D4B7F5 #EFE4FB

Accessibility & contrast

On white

2.87
#B481EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B481EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481EE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481EE#FFFFFF#000000##000000
##B481EE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#AA94AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b481ee;
/* rgb */ color: rgb(180, 129, 238);
/* oklch */ color: oklch(69.8% 0.161 304.1);
Tailwind
colors: {
  custom: {
    50: '#cda6f4',
    500: '#b481ee',
    950: '#000000',
  },
}
SCSS
$custom: #b481ee;
$custom-light: #cda6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b481ee",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 268.073,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.16147,
    "h": 304.1
  },
  "luminance": 0.31577
}

Semantic roles & 50–950 ramp

primary
#B481EE
secondary
#E6F3D8
accent
#D80D79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481EE

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

Preview Lab → · Contrast checker → · Palette generator →

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