#B480FA#B480FA

#B480FA is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.178 H 301.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B480FA
RGBrgb(180, 128, 250)
HSLhsl(266, 92%, 74%)
HSVhsv(266, 49%, 98%)
CMYKcmyk(28%, 48.8%, 0%, 2%)
CIE-LABlab(63.38, 44.03, -53.78)
CIE-LCHlch(63.38, 69.51, 309.31°)
OKLaboklab(70.25% 0.0933 -0.1512)
OKLCHoklch(70.25% 0.178 301.7)
XYZxyz(43.7930, 32.0437, 94.3018)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B480FA #C6FA80
analogous
#8089FA #B480FA #F180FA
triadic
#B480FA #FAB480 #80FAB4
tetradic
#B480FA #FA8089 #C6FA80 #80FAF1
square
#B480FA #FA8089 #C6FA80 #80FAF1
split-complementary
#B480FA #FAF180 #89FA80
monochromatic
#6E0AF5 #9145F8 #B480FA #D7BBFC #EEE2FE

Accessibility & contrast

On white

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

On black

7.41
#B480FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B480FA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B480FA#FFFFFF#000000##000000
##B480FA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#A796B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b480fa;
/* rgb */ color: rgb(180, 128, 250);
/* oklch */ color: oklch(70.2% 0.178 301.7);
Tailwind
colors: {
  custom: {
    50: '#cda6fc',
    500: '#b480fa',
    950: '#000000',
  },
}
SCSS
$custom: #b480fa;
$custom-light: #cda6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b480fa",
  "rgb": {
    "r": 180,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 265.574,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70245,
    "c": 0.17763,
    "h": 301.7
  },
  "luminance": 0.32044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B480FA

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

Preview Lab → · Contrast checker → · Palette generator →

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