#B580FB#B580FB

#B580FB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.179 H 301.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B580FB
RGBrgb(181, 128, 251)
HSLhsl(266, 94%, 74%)
HSVhsv(266, 49%, 98%)
CMYKcmyk(27.9%, 49%, 0%, 1.6%)
CIE-LABlab(63.53, 44.53, -54.08)
CIE-LCHlch(63.53, 70.05, 309.46°)
OKLaboklab(70.4% 0.0946 -0.152)
OKLCHoklch(70.4% 0.179 301.9)
XYZxyz(44.1839, 32.2271, 95.1408)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B580FB #C6FB80
analogous
#8089FB #B580FB #F380FB
triadic
#B580FB #FBB580 #80FBB5
tetradic
#B580FB #FB8089 #C6FB80 #80FBF3
square
#B580FB #FB8089 #C6FB80 #80FBF3
split-complementary
#B580FB #FBF380 #89FB80
monochromatic
#7009F7 #9245F9 #B580FB #D8BBFD #EEE1FE

Accessibility & contrast

On white

2.82
#B580FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B580FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B580FB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B580FB#FFFFFF#000000##000000
##B580FB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#A896B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b580fb;
/* rgb */ color: rgb(181, 128, 251);
/* oklch */ color: oklch(70.4% 0.179 301.9);
Tailwind
colors: {
  custom: {
    50: '#cea6fd',
    500: '#b580fb',
    950: '#000000',
  },
}
SCSS
$custom: #b580fb;
$custom-light: #cea6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b580fb",
  "rgb": {
    "r": 181,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 265.854,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.17905,
    "h": 301.9
  },
  "luminance": 0.32227
}

Semantic roles & 50–950 ramp

primary
#B580FB
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B580FB

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

Preview Lab → · Contrast checker → · Palette generator →

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