#B581FA#B581FA

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

Color values

HEX#B581FA
RGBrgb(181, 129, 250)
HSLhsl(266, 92%, 74%)
HSVhsv(266, 48%, 98%)
CMYKcmyk(27.6%, 48.4%, 0%, 2%)
CIE-LABlab(63.69, 43.74, -53.28)
CIE-LCHlch(63.69, 68.93, 309.39°)
OKLaboklab(70.5% 0.0932 -0.1497)
OKLCHoklch(70.5% 0.176 301.9)
XYZxyz(44.1577, 32.4263, 94.3565)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581FA #C6FA81
analogous
#818AFA #B581FA #F181FA
triadic
#B581FA #FAB581 #81FAB5
tetradic
#B581FA #FA818A #C6FA81 #81FAF1
square
#B581FA #FA818A #C6FA81 #81FAF1
split-complementary
#B581FA #FAF181 #8AFA81
monochromatic
#700BF5 #9246F8 #B581FA #D8BCFC #EEE2FE

Accessibility & contrast

On white

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

On black

7.49
#B581FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581FA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581FA#FFFFFF#000000##000000
##B581FA1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#A897B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b581fa;
/* rgb */ color: rgb(181, 129, 250);
/* oklch */ color: oklch(70.5% 0.176 301.9);
Tailwind
colors: {
  custom: {
    50: '#cea7fc',
    500: '#b581fa',
    950: '#000000',
  },
}
SCSS
$custom: #b581fa;
$custom-light: #cea7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b581fa",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 265.785,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70502,
    "c": 0.1763,
    "h": 301.9
  },
  "luminance": 0.32426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B581FA

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

Preview Lab → · Contrast checker → · Palette generator →

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