#B481EA#B481EA

#B481EA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.5% C 0.157 H 305.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B481EA
RGBrgb(180, 129, 234)
HSLhsl(269, 71%, 71%)
HSVhsv(269, 45%, 92%)
CMYKcmyk(23.1%, 44.9%, 0%, 8.2%)
CIE-LABlab(62.80, 39.74, -45.87)
CIE-LCHlch(62.80, 60.69, 310.90°)
OKLaboklab(69.55% 0.09 -0.1281)
OKLCHoklch(69.55% 0.157 305.1)
XYZxyz(41.5208, 31.3445, 81.6887)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481EA #B7EA81
analogous
#8182EA #B481EA #E981EA
triadic
#B481EA #EAB481 #81EAB4
tetradic
#B481EA #EA8182 #B7EA81 #81EAE9
square
#B481EA #EA8182 #B7EA81 #81EAE9
split-complementary
#B481EA #EAE981 #82EA81
monochromatic
#7622CE #954DE1 #B481EA #D3B5F3 #EFE5FB

Accessibility & contrast

On white

2.89
#B481EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B481EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481EA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481EA#FFFFFF#000000##000000
##B481EA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#AB93AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b481ea;
/* rgb */ color: rgb(180, 129, 234);
/* oklch */ color: oklch(69.5% 0.157 305.1);
Tailwind
colors: {
  custom: {
    50: '#cca6f1',
    500: '#b481ea',
    950: '#000000',
  },
}
SCSS
$custom: #b481ea;
$custom-light: #cca6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b481ea",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 269.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6955,
    "c": 0.15659,
    "h": 305.1
  },
  "luminance": 0.31344
}

Semantic roles & 50–950 ramp

primary
#B481EA
secondary
#E4F1D6
accent
#D31276
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481EA

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

Preview Lab → · Contrast checker → · Palette generator →

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