#B581FC#B581FC

#B581FC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.6% C 0.179 H 301.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B581FC
RGBrgb(181, 129, 252)
HSLhsl(265, 95%, 75%)
HSVhsv(265, 49%, 99%)
CMYKcmyk(28.2%, 48.8%, 0%, 1.2%)
CIE-LABlab(63.80, 44.22, -54.21)
CIE-LCHlch(63.80, 69.96, 309.20°)
OKLaboklab(70.61% 0.0934 -0.1524)
OKLCHoklch(70.61% 0.179 301.5)
XYZxyz(44.4730, 32.5524, 96.0169)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B581FC #C8FC81
analogous
#818BFC #B581FC #F381FC
triadic
#B581FC #FCB581 #81FCB5
tetradic
#B581FC #FC818B #C8FC81 #81FCF3
square
#B581FC #FC818B #C8FC81 #81FCF3
split-complementary
#B581FC #FCF381 #8BFC81
monochromatic
#6F09F9 #9245FB #B581FC #D8BDFD #EDE1FE

Accessibility & contrast

On white

2.80
#B581FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B581FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B581FC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B581FC#FFFFFF#000000##000000
##B581FC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#A898B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b581fc;
/* rgb */ color: rgb(181, 129, 252);
/* oklch */ color: oklch(70.6% 0.179 301.5);
Tailwind
colors: {
  custom: {
    50: '#cea7fe',
    500: '#b581fc',
    950: '#000000',
  },
}
SCSS
$custom: #b581fc;
$custom-light: #cea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b581fc",
  "rgb": {
    "r": 181,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 265.366,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70613,
    "c": 0.17873,
    "h": 301.5
  },
  "luminance": 0.32553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B581FC

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

Preview Lab → · Contrast checker → · Palette generator →

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