#B481F3#B481F3

#B481F3 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.0% C 0.168 H 303.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B481F3
RGBrgb(180, 129, 243)
HSLhsl(267, 83%, 73%)
HSVhsv(267, 47%, 95%)
CMYKcmyk(25.9%, 46.9%, 0%, 4.7%)
CIE-LABlab(63.24, 41.83, -50.15)
CIE-LCHlch(63.24, 65.31, 309.83°)
OKLaboklab(70.03% 0.0912 -0.1406)
OKLCHoklch(70.03% 0.168 303)
XYZxyz(42.8468, 31.8749, 88.6718)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481F3 #C0F381
analogous
#8187F3 #B481F3 #ED81F3
triadic
#B481F3 #F3B481 #81F3B4
tetradic
#B481F3 #F38187 #C0F381 #81F3ED
square
#B481F3 #F38187 #C0F381 #81F3ED
split-complementary
#B481F3 #F3ED81 #87F381
monochromatic
#7216E4 #9349EE #B481F3 #D5B9F8 #EEE3FC

Accessibility & contrast

On white

2.85
#B481F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#B481F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481F3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481F3#FFFFFF#000000##000000
##B481F31.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#A995AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b481f3;
/* rgb */ color: rgb(180, 129, 243);
/* oklch */ color: oklch(70.0% 0.168 303.0);
Tailwind
colors: {
  custom: {
    50: '#cda6f7',
    500: '#b481f3',
    950: '#000000',
  },
}
SCSS
$custom: #b481f3;
$custom-light: #cda6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b481f3",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 266.842,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70025,
    "c": 0.16757,
    "h": 303
  },
  "luminance": 0.31875
}

Semantic roles & 50–950 ramp

primary
#B481F3
secondary
#E7F4D7
accent
#DF067E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481F3

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

Preview Lab → · Contrast checker → · Palette generator →

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