#B481FA#B481FA

#B481FA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.4% C 0.176 H 301.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B481FA
RGBrgb(180, 129, 250)
HSLhsl(265, 92%, 74%)
HSVhsv(265, 48%, 98%)
CMYKcmyk(28%, 48.4%, 0%, 2%)
CIE-LABlab(63.59, 43.49, -53.44)
CIE-LCHlch(63.59, 68.90, 309.14°)
OKLaboklab(70.41% 0.092 -0.1502)
OKLCHoklch(70.41% 0.176 301.5)
XYZxyz(43.9240, 32.3058, 94.3455)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481FA #C7FA81
analogous
#818BFA #B481FA #F081FA
triadic
#B481FA #FAB481 #81FAB4
tetradic
#B481FA #FA818B #C7FA81 #81FAF0
square
#B481FA #FA818B #C7FA81 #81FAF0
split-complementary
#B481FA #FAF081 #8BFA81
monochromatic
#6E0BF5 #9146F8 #B481FA #D7BCFC #EDE2FE

Accessibility & contrast

On white

2.81
#B481FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B481FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481FA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481FA#FFFFFF#000000##000000
##B481FA1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#6899F7
Tritanopia (blue-blind)
#A797B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b481fa;
/* rgb */ color: rgb(180, 129, 250);
/* oklch */ color: oklch(70.4% 0.176 301.5);
Tailwind
colors: {
  custom: {
    50: '#cda7fc',
    500: '#b481fa',
    950: '#000000',
  },
}
SCSS
$custom: #b481fa;
$custom-light: #cda7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b481fa",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 265.289,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70406,
    "c": 0.1761,
    "h": 301.5
  },
  "luminance": 0.32306
}

Semantic roles & 50–950 ramp

primary
#B481FA
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481FA

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

Preview Lab → · Contrast checker → · Palette generator →

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