#B480EF#B480EF

#B480EF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.164 H 304.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B480EF
RGBrgb(180, 128, 239)
HSLhsl(268, 78%, 72%)
HSVhsv(268, 46%, 94%)
CMYKcmyk(24.7%, 46.4%, 0%, 6.3%)
CIE-LABlab(62.82, 41.45, -48.60)
CIE-LCHlch(62.82, 63.87, 310.46°)
OKLaboklab(69.65% 0.0921 -0.1361)
OKLCHoklch(69.65% 0.164 304.1)
XYZxyz(42.1182, 31.3738, 85.4815)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B480EF #BBEF80
analogous
#8084EF #B480EF #EB80EF
triadic
#B480EF #EFB480 #80EFB4
tetradic
#B480EF #EF8084 #BBEF80 #80EFEB
square
#B480EF #EF8084 #BBEF80 #80EFEB
split-complementary
#B480EF #EFEB80 #84EF80
monochromatic
#741BD9 #944AE8 #B480EF #D4B6F6 #EFE4FC

Accessibility & contrast

On white

2.89
#B480EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B480EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B480EF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B480EF#FFFFFF#000000##000000
##B480EF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#AA93AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b480ef;
/* rgb */ color: rgb(180, 128, 239);
/* oklch */ color: oklch(69.6% 0.164 304.1);
Tailwind
colors: {
  custom: {
    50: '#cda6f5',
    500: '#b480ef',
    950: '#000000',
  },
}
SCSS
$custom: #b480ef;
$custom-light: #cda6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b480ef",
  "rgb": {
    "r": 180,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 268.108,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.16428,
    "h": 304.1
  },
  "luminance": 0.31374
}

Semantic roles & 50–950 ramp

primary
#B480EF
secondary
#E6F3D7
accent
#DA0C79
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B480EF

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

Preview Lab → · Contrast checker → · Palette generator →

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