#B582FD#B582FD

#B582FD is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.8% C 0.178 H 301.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B582FD
RGBrgb(181, 130, 253)
HSLhsl(265, 97%, 75%)
HSVhsv(265, 49%, 99%)
CMYKcmyk(28.5%, 48.6%, 0%, 0.8%)
CIE-LABlab(64.06, 43.91, -54.33)
CIE-LCHlch(64.06, 69.86, 308.94°)
OKLaboklab(70.83% 0.0922 -0.1527)
OKLCHoklch(70.83% 0.178 301.1)
XYZxyz(44.7642, 32.8807, 96.8977)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B582FD #CAFD82
analogous
#828DFD #B582FD #F282FD
triadic
#B582FD #FDB582 #82FDB5
tetradic
#B582FD #FD828D #CAFD82 #82FDF2
square
#B582FD #FD828D #CAFD82 #82FDF2
split-complementary
#B582FD #FDF282 #8DFD82
monochromatic
#6E0AFB #9146FC #B582FD #D9BEFE #EDE1FF

Accessibility & contrast

On white

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

On black

7.58
#B582FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B582FD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B582FD#FFFFFF#000000##000000
##B582FD1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#A799B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b582fd;
/* rgb */ color: rgb(181, 130, 253);
/* oklch */ color: oklch(70.8% 0.178 301.1);
Tailwind
colors: {
  custom: {
    50: '#cea7fe',
    500: '#b582fd',
    950: '#000000',
  },
}
SCSS
$custom: #b582fd;
$custom-light: #cea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b582fd",
  "rgb": {
    "r": 181,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 264.878,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.17842,
    "h": 301.1
  },
  "luminance": 0.32881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B582FD

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

Preview Lab → · Contrast checker → · Palette generator →

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