#B582FE#B582FE

#B582FE is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.9% C 0.180 H 300.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B582FE
RGBrgb(181, 130, 254)
HSLhsl(265, 98%, 75%)
HSVhsv(265, 49%, 100%)
CMYKcmyk(28.7%, 48.8%, 0%, 0.4%)
CIE-LABlab(64.12, 44.15, -54.80)
CIE-LCHlch(64.12, 70.37, 308.86°)
OKLaboklab(70.88% 0.0923 -0.1541)
OKLCHoklch(70.88% 0.18 300.9)
XYZxyz(44.9240, 32.9446, 97.7389)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582FE #CBFE82
analogous
#828DFE #B582FE #F382FE
triadic
#B582FE #FEB582 #82FEB5
tetradic
#B582FE #FE828D #CBFE82 #82FEF3
square
#B582FE #FE828D #CBFE82 #82FEF3
split-complementary
#B582FE #FEF382 #8DFE82
monochromatic
#6D09FD #9145FE #B582FE #D9BFFE #EDE1FF

Accessibility & contrast

On white

2.77
#B582FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B582FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582FE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582FE#FFFFFF#000000##000000
##B582FE1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#A799B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b582fe;
/* rgb */ color: rgb(181, 130, 254);
/* oklch */ color: oklch(70.9% 0.180 300.9);
Tailwind
colors: {
  custom: {
    50: '#cea7ff',
    500: '#b582fe',
    950: '#000000',
  },
}
SCSS
$custom: #b582fe;
$custom-light: #cea7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b582fe",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 264.677,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.17963,
    "h": 300.9
  },
  "luminance": 0.32945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B582FE

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

Preview Lab → · Contrast checker → · Palette generator →

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