#B481ED#B481ED

#B481ED is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.160 H 304.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B481ED
RGBrgb(180, 129, 237)
HSLhsl(268, 75%, 72%)
HSVhsv(268, 46%, 93%)
CMYKcmyk(24.1%, 45.6%, 0%, 7.1%)
CIE-LABlab(62.94, 40.43, -47.31)
CIE-LCHlch(62.94, 62.23, 310.52°)
OKLaboklab(69.71% 0.0905 -0.1323)
OKLCHoklch(69.71% 0.16 304.4)
XYZxyz(41.9555, 31.5184, 83.9777)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481ED #BAED81
analogous
#8184ED #B481ED #EA81ED
triadic
#B481ED #EDB481 #81EDB4
tetradic
#B481ED #ED8184 #BAED81 #81EDEA
square
#B481ED #ED8184 #BAED81 #81EDEA
split-complementary
#B481ED #EDEA81 #84ED81
monochromatic
#751ED5 #944BE5 #B481ED #D4B7F5 #EFE4FB

Accessibility & contrast

On white

2.88
#B481ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B481ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481ED
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481ED#FFFFFF#000000##000000
##B481ED1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#AB93AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b481ed;
/* rgb */ color: rgb(180, 129, 237);
/* oklch */ color: oklch(69.7% 0.160 304.4);
Tailwind
colors: {
  custom: {
    50: '#cca6f3',
    500: '#b481ed',
    950: '#000000',
  },
}
SCSS
$custom: #b481ed;
$custom-light: #cca6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b481ed",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 268.333,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69706,
    "c": 0.16026,
    "h": 304.4
  },
  "luminance": 0.31518
}

Semantic roles & 50–950 ramp

primary
#B481ED
secondary
#E6F3D7
accent
#D70E78
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481ED

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

Preview Lab → · Contrast checker → · Palette generator →

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