#B481EF#B481EF

#B481EF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.163 H 303.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B481EF
RGBrgb(180, 129, 239)
HSLhsl(268, 77%, 72%)
HSVhsv(268, 46%, 94%)
CMYKcmyk(24.7%, 46%, 0%, 6.3%)
CIE-LABlab(63.04, 40.90, -48.26)
CIE-LCHlch(63.04, 63.26, 310.28°)
OKLaboklab(69.81% 0.0907 -0.1351)
OKLCHoklch(69.81% 0.163 303.9)
XYZxyz(42.2493, 31.6359, 85.5252)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481EF #BCEF81
analogous
#8185EF #B481EF #EB81EF
triadic
#B481EF #EFB481 #81EFB4
tetradic
#B481EF #EF8185 #BCEF81 #81EFEB
square
#B481EF #EF8185 #BCEF81 #81EFEB
split-complementary
#B481EF #EFEB81 #85EF81
monochromatic
#741CDA #944BE8 #B481EF #D4B7F6 #EFE4FC

Accessibility & contrast

On white

2.87
#B481EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B481EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481EF#FFFFFF#000000##000000
##B481EF1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#6F99EC
Tritanopia (blue-blind)
#AA94AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b481ef;
/* rgb */ color: rgb(180, 129, 239);
/* oklch */ color: oklch(69.8% 0.163 303.9);
Tailwind
colors: {
  custom: {
    50: '#cda6f5',
    500: '#b481ef',
    950: '#000000',
  },
}
SCSS
$custom: #b481ef;
$custom-light: #cda6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b481ef",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 267.818,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.16269,
    "h": 303.9
  },
  "luminance": 0.31636
}

Semantic roles & 50–950 ramp

primary
#B481EF
secondary
#E7F3D8
accent
#DA0C7A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481EF

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

Preview Lab → · Contrast checker → · Palette generator →

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