#B481E4#B481E4

#B481E4 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.2% C 0.149 H 306.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B481E4
RGBrgb(180, 129, 228)
HSLhsl(271, 65%, 70%)
HSVhsv(271, 43%, 89%)
CMYKcmyk(21.1%, 43.4%, 0%, 10.6%)
CIE-LABlab(62.51, 38.37, -42.99)
CIE-LCHlch(62.51, 57.63, 311.75°)
OKLaboklab(69.24% 0.0891 -0.1198)
OKLCHoklch(69.24% 0.149 306.6)
XYZxyz(40.6734, 31.0056, 77.2257)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481E4 #B1E481
analogous
#8281E4 #B481E4 #E481E3
triadic
#B481E4 #E4B481 #81E4B4
tetradic
#B481E4 #E48281 #B1E481 #81E3E4
square
#B481E4 #E48281 #B1E481 #81E3E4
split-complementary
#B481E4 #E3E481 #81E482
monochromatic
#7829C1 #964FD9 #B481E4 #D2B3EF #F0E6FA

Accessibility & contrast

On white

2.92
#B481E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B481E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481E4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481E4#FFFFFF#000000##000000
##B481E41.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7698E1
Tritanopia (blue-blind)
#AD91A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b481e4;
/* rgb */ color: rgb(180, 129, 228);
/* oklch */ color: oklch(69.2% 0.149 306.6);
Tailwind
colors: {
  custom: {
    50: '#cca6ed',
    500: '#b481e4',
    950: '#000000',
  },
}
SCSS
$custom: #b481e4;
$custom-light: #cca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b481e4",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 270.909,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.69243,
    "c": 0.14929,
    "h": 306.6
  },
  "luminance": 0.31005
}

Semantic roles & 50–950 ramp

primary
#B481E4
secondary
#E0EED3
accent
#CD1970
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B481E4

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

Preview Lab → · Contrast checker → · Palette generator →

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