#B581FD#B581FD

#B581FD is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.180 H 301.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B581FD
RGBrgb(181, 129, 253)
HSLhsl(265, 97%, 75%)
HSVhsv(265, 49%, 99%)
CMYKcmyk(28.5%, 49%, 0%, 0.8%)
CIE-LABlab(63.85, 44.46, -54.68)
CIE-LCHlch(63.85, 70.47, 309.11°)
OKLaboklab(70.67% 0.0935 -0.1537)
OKLCHoklch(70.67% 0.18 301.3)
XYZxyz(44.6319, 32.6160, 96.8536)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581FD #C9FD81
analogous
#818BFD #B581FD #F381FD
triadic
#B581FD #FDB581 #81FDB5
tetradic
#B581FD #FD818B #C9FD81 #81FDF3
square
#B581FD #FD818B #C9FD81 #81FDF3
split-complementary
#B581FD #FDF381 #8BFD81
monochromatic
#6E09FB #9245FC #B581FD #D8BDFE #EDE1FF

Accessibility & contrast

On white

2.79
#B581FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B581FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581FD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581FD#FFFFFF#000000##000000
##B581FD1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#A798B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b581fd;
/* rgb */ color: rgb(181, 129, 253);
/* oklch */ color: oklch(70.7% 0.180 301.3);
Tailwind
colors: {
  custom: {
    50: '#cea7fe',
    500: '#b581fd',
    950: '#000000',
  },
}
SCSS
$custom: #b581fd;
$custom-light: #cea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b581fd",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 265.161,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70668,
    "c": 0.17994,
    "h": 301.3
  },
  "luminance": 0.32616
}

Semantic roles & 50–950 ramp

primary
#B581FD
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B581FD

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

Preview Lab → · Contrast checker → · Palette generator →

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