#B481E8#B481E8

#B481E8 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.4% C 0.154 H 305.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B481E8
RGBrgb(180, 129, 232)
HSLhsl(270, 69%, 71%)
HSVhsv(270, 44%, 91%)
CMYKcmyk(22.4%, 44.4%, 0%, 9%)
CIE-LABlab(62.70, 39.28, -44.92)
CIE-LCHlch(62.70, 59.67, 311.17°)
OKLaboklab(69.45% 0.0897 -0.1253)
OKLCHoklch(69.45% 0.154 305.6)
XYZxyz(41.2351, 31.2303, 80.1840)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481E8 #B5E881
analogous
#8181E8 #B481E8 #E881E8
triadic
#B481E8 #E8B481 #81E8B4
tetradic
#B481E8 #E88181 #B5E881 #81E8E8
square
#B481E8 #E88181 #B5E881 #81E8E8
split-complementary
#B481E8 #E8E881 #81E881
monochromatic
#7625CA #954DDF #B481E8 #D3B5F1 #F0E5FA

Accessibility & contrast

On white

2.90
#B481E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B481E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481E8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481E8#FFFFFF#000000##000000
##B481E81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#7398E5
Tritanopia (blue-blind)
#AC92A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b481e8;
/* rgb */ color: rgb(180, 129, 232);
/* oklch */ color: oklch(69.4% 0.154 305.6);
Tailwind
colors: {
  custom: {
    50: '#cca6f0',
    500: '#b481e8',
    950: '#000000',
  },
}
SCSS
$custom: #b481e8;
$custom-light: #cca6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b481e8",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 269.709,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69447,
    "c": 0.15416,
    "h": 305.6
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#B481E8
secondary
#E3F0D5
accent
#D11474
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B481E8

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

Preview Lab → · Contrast checker → · Palette generator →

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