#B581FF#B581FF

#B581FF is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.8% C 0.182 H 300.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B581FF
RGBrgb(181, 129, 255)
HSLhsl(265, 100%, 75%)
HSVhsv(265, 49%, 100%)
CMYKcmyk(29%, 49.4%, 0%, 0%)
CIE-LABlab(63.95, 44.93, -55.61)
CIE-LCHlch(63.95, 71.49, 308.94°)
OKLaboklab(70.78% 0.0937 -0.1565)
OKLCHoklch(70.78% 0.182 300.9)
XYZxyz(44.9521, 32.7441, 98.5404)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581FF #CBFF81
analogous
#818CFF #B581FF #F481FF
triadic
#B581FF #FFB581 #81FFB5
tetradic
#B581FF #FF818C #CBFF81 #81FFF4
square
#B581FF #FF818C #CBFF81 #81FFF4
split-complementary
#B581FF #FFF481 #8CFF81
monochromatic
#6D07FF #9144FF #B581FF #D9BEFF #EDE0FF

Accessibility & contrast

On white

2.78
#B581FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B581FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581FF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581FF#FFFFFF#000000##000000
##B581FF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#A798B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b581ff;
/* rgb */ color: rgb(181, 129, 255);
/* oklch */ color: oklch(70.8% 0.182 300.9);
Tailwind
colors: {
  custom: {
    50: '#cea7ff',
    500: '#b581ff',
    950: '#000000',
  },
}
SCSS
$custom: #b581ff;
$custom-light: #cea7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b581ff",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 264.762,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.18236,
    "h": 300.9
  },
  "luminance": 0.32744
}

Semantic roles & 50–950 ramp

primary
#B581FF
secondary
#E9F7D4
accent
#E60087
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B581FF

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

Preview Lab → · Contrast checker → · Palette generator →

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