#B481E5#B481E5

#B481E5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.150 H 306.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B481E5
RGBrgb(180, 129, 229)
HSLhsl(271, 66%, 70%)
HSVhsv(271, 44%, 90%)
CMYKcmyk(21.4%, 43.7%, 0%, 10.2%)
CIE-LABlab(62.56, 38.60, -43.48)
CIE-LCHlch(62.56, 58.14, 311.60°)
OKLaboklab(69.29% 0.0893 -0.1212)
OKLCHoklch(69.29% 0.151 306.4)
XYZxyz(40.8127, 31.0613, 77.9589)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481E5 #B2E581
analogous
#8281E5 #B481E5 #E581E4
triadic
#B481E5 #E5B481 #81E5B4
tetradic
#B481E5 #E58281 #B2E581 #81E4E5
square
#B481E5 #E58281 #B2E581 #81E4E5
split-complementary
#B481E5 #E4E581 #81E582
monochromatic
#7728C3 #964EDB #B481E5 #D2B4EF #F0E6FA

Accessibility & contrast

On white

2.91
#B481E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B481E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481E5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481E5#FFFFFF#000000##000000
##B481E51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E9
Deuteranopia (green-blind)
#7598E2
Tritanopia (blue-blind)
#AD91A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b481e5;
/* rgb */ color: rgb(180, 129, 229);
/* oklch */ color: oklch(69.3% 0.150 306.4);
Tailwind
colors: {
  custom: {
    50: '#cca6ed',
    500: '#b481e5',
    950: '#000000',
  },
}
SCSS
$custom: #b481e5;
$custom-light: #cca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b481e5",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 270.6,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.1505,
    "h": 306.4
  },
  "luminance": 0.31061
}

Semantic roles & 50–950 ramp

primary
#B481E5
secondary
#E1EFD3
accent
#CE1871
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B481E5

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

Preview Lab → · Contrast checker → · Palette generator →

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