#B580FA#B580FA

#B580FA is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.178 H 302.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B580FA
RGBrgb(181, 128, 250)
HSLhsl(266, 92%, 74%)
HSVhsv(266, 49%, 98%)
CMYKcmyk(27.6%, 48.8%, 0%, 2%)
CIE-LABlab(63.48, 44.29, -53.62)
CIE-LCHlch(63.48, 69.54, 309.56°)
OKLaboklab(70.34% 0.0945 -0.1507)
OKLCHoklch(70.34% 0.178 302.1)
XYZxyz(44.0267, 32.1642, 94.3128)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B580FA #C5FA80
analogous
#8088FA #B580FA #F280FA
triadic
#B580FA #FAB580 #80FAB5
tetradic
#B580FA #FA8088 #C5FA80 #80FAF2
square
#B580FA #FA8088 #C5FA80 #80FAF2
split-complementary
#B580FA #FAF280 #88FA80
monochromatic
#700AF5 #9345F8 #B580FA #D7BBFC #EEE2FE

Accessibility & contrast

On white

2.83
#B580FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B580FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B580FA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B580FA#FFFFFF#000000##000000
##B580FA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#6899F7
Tritanopia (blue-blind)
#A896B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b580fa;
/* rgb */ color: rgb(181, 128, 250);
/* oklch */ color: oklch(70.3% 0.178 302.1);
Tailwind
colors: {
  custom: {
    50: '#cea6fc',
    500: '#b580fa',
    950: '#000000',
  },
}
SCSS
$custom: #b580fa;
$custom-light: #cea6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b580fa",
  "rgb": {
    "r": 181,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 266.066,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70342,
    "c": 0.17784,
    "h": 302.1
  },
  "luminance": 0.32164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B580FA

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

Preview Lab → · Contrast checker → · Palette generator →

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