#B481F9#B481F9

#B481F9 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.175 H 301.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B481F9
RGBrgb(180, 129, 249)
HSLhsl(266, 91%, 74%)
HSVhsv(266, 48%, 98%)
CMYKcmyk(27.7%, 48.2%, 0%, 2.4%)
CIE-LABlab(63.54, 43.25, -52.97)
CIE-LCHlch(63.54, 68.38, 309.23°)
OKLaboklab(70.35% 0.0919 -0.1488)
OKLCHoklch(70.35% 0.175 301.7)
XYZxyz(43.7677, 32.2433, 93.5219)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481F9 #C6F981
analogous
#818AF9 #B481F9 #F081F9
triadic
#B481F9 #F9B481 #81F9B4
tetradic
#B481F9 #F9818A #C6F981 #81F9F0
square
#B481F9 #F9818A #C6F981 #81F9F0
split-complementary
#B481F9 #F9F081 #8AF981
monochromatic
#6E0CF3 #9147F6 #B481F9 #D7BBFC #EEE2FE

Accessibility & contrast

On white

2.82
#B481F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B481F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481F9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481F9#FFFFFF#000000##000000
##B481F91.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#6999F6
Tritanopia (blue-blind)
#A797B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b481f9;
/* rgb */ color: rgb(180, 129, 249);
/* oklch */ color: oklch(70.4% 0.175 301.7);
Tailwind
colors: {
  custom: {
    50: '#cda7fc',
    500: '#b481f9',
    950: '#000000',
  },
}
SCSS
$custom: #b481f9;
$custom-light: #cda7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b481f9",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 265.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.17489,
    "h": 301.7
  },
  "luminance": 0.32243
}

Semantic roles & 50–950 ramp

primary
#B481F9
secondary
#E8F6D5
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481F9

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

Preview Lab → · Contrast checker → · Palette generator →

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