#B481F6#B481F6

#B481F6 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.171 H 302.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B481F6
RGBrgb(180, 129, 246)
HSLhsl(266, 87%, 74%)
HSVhsv(266, 48%, 96%)
CMYKcmyk(26.8%, 47.6%, 0%, 3.5%)
CIE-LABlab(63.39, 42.54, -51.56)
CIE-LCHlch(63.39, 66.84, 309.52°)
OKLaboklab(70.19% 0.0916 -0.1447)
OKLCHoklch(70.19% 0.171 302.3)
XYZxyz(43.3035, 32.0576, 91.0773)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481F6 #C3F681
analogous
#8188F6 #B481F6 #EF81F6
triadic
#B481F6 #F6B481 #81F6B4
tetradic
#B481F6 #F68188 #C3F681 #81F6EF
square
#B481F6 #F68188 #C3F681 #81F6EF
split-complementary
#B481F6 #F6EF81 #88F681
monochromatic
#7011EC #9248F2 #B481F6 #D6BAFA #EEE2FD

Accessibility & contrast

On white

2.83
#B481F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B481F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481F6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481F6#FFFFFF#000000##000000
##B481F61.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#A896B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b481f6;
/* rgb */ color: rgb(180, 129, 246);
/* oklch */ color: oklch(70.2% 0.171 302.3);
Tailwind
colors: {
  custom: {
    50: '#cda6fa',
    500: '#b481f6',
    950: '#000000',
  },
}
SCSS
$custom: #b481f6;
$custom-light: #cda6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b481f6",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 266.154,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70187,
    "c": 0.17123,
    "h": 302.3
  },
  "luminance": 0.32058
}

Semantic roles & 50–950 ramp

primary
#B481F6
secondary
#E7F5D6
accent
#E30281
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481F6

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

Preview Lab → · Contrast checker → · Palette generator →

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