#B481FB#B481FB

#B481FB is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.177 H 301.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B481FB
RGBrgb(180, 129, 251)
HSLhsl(265, 94%, 75%)
HSVhsv(265, 49%, 98%)
CMYKcmyk(28.3%, 48.6%, 0%, 1.6%)
CIE-LABlab(63.65, 43.72, -53.91)
CIE-LCHlch(63.65, 69.41, 309.05°)
OKLaboklab(70.46% 0.0921 -0.1515)
OKLCHoklch(70.46% 0.177 301.3)
XYZxyz(44.0813, 32.3687, 95.1735)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481FB #C8FB81
analogous
#818BFB #B481FB #F181FB
triadic
#B481FB #FBB481 #81FBB4
tetradic
#B481FB #FB818B #C8FB81 #81FBF1
square
#B481FB #FB818B #C8FB81 #81FBF1
split-complementary
#B481FB #FBF181 #8BFB81
monochromatic
#6D0AF7 #9146F9 #B481FB #D7BCFD #EDE1FE

Accessibility & contrast

On white

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

On black

7.47
#B481FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481FB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481FB#FFFFFF#000000##000000
##B481FB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#A697B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b481fb;
/* rgb */ color: rgb(180, 129, 251);
/* oklch */ color: oklch(70.5% 0.177 301.3);
Tailwind
colors: {
  custom: {
    50: '#cda7fd',
    500: '#b481fb',
    950: '#000000',
  },
}
SCSS
$custom: #b481fb;
$custom-light: #cda7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b481fb",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 265.082,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70461,
    "c": 0.17732,
    "h": 301.3
  },
  "luminance": 0.32369
}

Semantic roles & 50–950 ramp

primary
#B481FB
secondary
#E8F6D5
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B481FB

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

Preview Lab → · Contrast checker → · Palette generator →

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