#B582FA#B582FA

#B582FA is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.175 H 301.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B582FA
RGBrgb(181, 130, 250)
HSLhsl(266, 92%, 75%)
HSVhsv(266, 48%, 98%)
CMYKcmyk(27.6%, 48%, 0%, 2%)
CIE-LABlab(63.91, 43.20, -52.93)
CIE-LCHlch(63.91, 68.32, 309.22°)
OKLaboklab(70.66% 0.0919 -0.1487)
OKLCHoklch(70.66% 0.175 301.7)
XYZxyz(44.2901, 32.6911, 94.4006)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582FA #C7FA82
analogous
#828BFA #B582FA #F182FA
triadic
#B582FA #FAB582 #82FAB5
tetradic
#B582FA #FA828B #C7FA82 #82FAF1
square
#B582FA #FA828B #C7FA82 #82FAF1
split-complementary
#B582FA #FAF182 #8BFA82
monochromatic
#6F0CF5 #9247F8 #B582FA #D8BDFC #EEE2FE

Accessibility & contrast

On white

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

On black

7.54
#B582FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582FA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582FA#FFFFFF#000000##000000
##B582FA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#A898B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b582fa;
/* rgb */ color: rgb(181, 130, 250);
/* oklch */ color: oklch(70.7% 0.175 301.7);
Tailwind
colors: {
  custom: {
    50: '#cea7fc',
    500: '#b582fa',
    950: '#000000',
  },
}
SCSS
$custom: #b582fa;
$custom-light: #cea7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b582fa",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 265.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.17477,
    "h": 301.7
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B582FA

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

Preview Lab → · Contrast checker → · Palette generator →

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