#B482F6#B482F6

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

Color values

HEX#B482F6
RGBrgb(180, 130, 246)
HSLhsl(266, 87%, 74%)
HSVhsv(266, 47%, 96%)
CMYKcmyk(26.8%, 47.2%, 0%, 3.5%)
CIE-LABlab(63.61, 41.99, -51.22)
CIE-LCHlch(63.61, 66.23, 309.35°)
OKLaboklab(70.35% 0.0903 -0.1437)
OKLCHoklch(70.35% 0.17 302.1)
XYZxyz(43.4359, 32.3223, 91.1214)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B482F6 #C4F682
analogous
#828AF6 #B482F6 #EE82F6
triadic
#B482F6 #F6B482 #82F6B4
tetradic
#B482F6 #F6828A #C4F682 #82F6EE
square
#B482F6 #F6828A #C4F682 #82F6EE
split-complementary
#B482F6 #F6EE82 #8AF682
monochromatic
#7011ED #9249F2 #B482F6 #D6BBFA #EEE2FD

Accessibility & contrast

On white

2.81
#B482F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B482F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B482F6
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B482F6#FFFFFF#000000##000000
##B482F61.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#6C9AF3
Tritanopia (blue-blind)
#A897B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b482f6;
/* rgb */ color: rgb(180, 130, 246);
/* oklch */ color: oklch(70.3% 0.170 302.1);
Tailwind
colors: {
  custom: {
    50: '#cda7fa',
    500: '#b482f6',
    950: '#000000',
  },
}
SCSS
$custom: #b482f6;
$custom-light: #cda7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b482f6",
  "rgb": {
    "r": 180,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 265.862,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.16968,
    "h": 302.1
  },
  "luminance": 0.32322
}

Semantic roles & 50–950 ramp

primary
#B482F6
secondary
#E8F5D6
accent
#E30282
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B482F6

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

Preview Lab → · Contrast checker → · Palette generator →

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