#B481EC#B481EC

#B481EC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.159 H 304.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B481EC
RGBrgb(180, 129, 236)
HSLhsl(269, 74%, 72%)
HSVhsv(269, 45%, 93%)
CMYKcmyk(23.7%, 45.3%, 0%, 7.5%)
CIE-LABlab(62.89, 40.20, -46.83)
CIE-LCHlch(62.89, 61.72, 310.65°)
OKLaboklab(69.65% 0.0903 -0.1309)
OKLCHoklch(69.65% 0.159 304.6)
XYZxyz(41.8098, 31.4601, 83.2104)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481EC #B9EC81
analogous
#8184EC #B481EC #E981EC
triadic
#B481EC #ECB481 #81ECB4
tetradic
#B481EC #EC8184 #B9EC81 #81ECE9
square
#B481EC #EC8184 #B9EC81 #81ECE9
split-complementary
#B481EC #ECE981 #84EC81
monochromatic
#7520D3 #944CE4 #B481EC #D4B6F4 #EFE4FB

Accessibility & contrast

On white

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

On black

7.29
#B481EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481EC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481EC#FFFFFF#000000##000000
##B481EC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#AB93AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b481ec;
/* rgb */ color: rgb(180, 129, 236);
/* oklch */ color: oklch(69.7% 0.159 304.6);
Tailwind
colors: {
  custom: {
    50: '#cca6f2',
    500: '#b481ec',
    950: '#000000',
  },
}
SCSS
$custom: #b481ec;
$custom-light: #cca6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b481ec",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 268.598,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69654,
    "c": 0.15904,
    "h": 304.6
  },
  "luminance": 0.3146
}

Semantic roles & 50–950 ramp

primary
#B481EC
secondary
#E5F2D7
accent
#D61077
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481EC

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

Preview Lab → · Contrast checker → · Palette generator →

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