#B482EC#B482EC

#B482EC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.157 H 304.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B482EC
RGBrgb(180, 130, 236)
HSLhsl(268, 74%, 72%)
HSVhsv(268, 45%, 93%)
CMYKcmyk(23.7%, 44.9%, 0%, 7.5%)
CIE-LABlab(63.11, 39.65, -46.48)
CIE-LCHlch(63.11, 61.10, 310.47°)
OKLaboklab(69.82% 0.089 -0.1299)
OKLCHoklch(69.82% 0.157 304.4)
XYZxyz(41.9421, 31.7249, 83.2545)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B482EC #BAEC82
analogous
#8285EC #B482EC #E982EC
triadic
#B482EC #ECB482 #82ECB4
tetradic
#B482EC #EC8285 #BAEC82 #82ECE9
square
#B482EC #EC8285 #BAEC82 #82ECE9
split-complementary
#B482EC #ECE982 #85EC82
monochromatic
#7520D3 #944DE4 #B482EC #D4B7F4 #EFE4FB

Accessibility & contrast

On white

2.86
#B482EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B482EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B482EC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B482EC#FFFFFF#000000##000000
##B482EC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7299E9
Tritanopia (blue-blind)
#AB94AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b482ec;
/* rgb */ color: rgb(180, 130, 236);
/* oklch */ color: oklch(69.8% 0.157 304.4);
Tailwind
colors: {
  custom: {
    50: '#cca7f2',
    500: '#b482ec',
    950: '#000000',
  },
}
SCSS
$custom: #b482ec;
$custom-light: #cca7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b482ec",
  "rgb": {
    "r": 180,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 268.302,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69819,
    "c": 0.15744,
    "h": 304.4
  },
  "luminance": 0.31725
}

Semantic roles & 50–950 ramp

primary
#B482EC
secondary
#E6F2D7
accent
#D61078
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B482EC

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

Preview Lab → · Contrast checker → · Palette generator →

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