#B481F7#B481F7

#B481F7 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.172 H 302.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B481F7
RGBrgb(180, 129, 247)
HSLhsl(266, 88%, 74%)
HSVhsv(266, 48%, 97%)
CMYKcmyk(27.1%, 47.8%, 0%, 3.1%)
CIE-LABlab(63.44, 42.77, -52.03)
CIE-LCHlch(63.44, 67.36, 309.42°)
OKLaboklab(70.24% 0.0917 -0.1461)
OKLCHoklch(70.24% 0.172 302.1)
XYZxyz(43.4574, 32.1192, 91.8878)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481F7 #C4F781
analogous
#8189F7 #B481F7 #EF81F7
triadic
#B481F7 #F7B481 #81F7B4
tetradic
#B481F7 #F78189 #C4F781 #81F7EF
square
#B481F7 #F78189 #C4F781 #81F7EF
split-complementary
#B481F7 #F7EF81 #89F781
monochromatic
#700FEE #9247F3 #B481F7 #D6BBFB #EEE2FD

Accessibility & contrast

On white

2.83
#B481F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B481F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481F7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481F7#FFFFFF#000000##000000
##B481F71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#A896B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b481f7;
/* rgb */ color: rgb(180, 129, 247);
/* oklch */ color: oklch(70.2% 0.172 302.1);
Tailwind
colors: {
  custom: {
    50: '#cda6fa',
    500: '#b481f7',
    950: '#000000',
  },
}
SCSS
$custom: #b481f7;
$custom-light: #cda6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b481f7",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 265.932,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70241,
    "c": 0.17245,
    "h": 302.1
  },
  "luminance": 0.32119
}

Semantic roles & 50–950 ramp

primary
#B481F7
secondary
#E8F5D6
accent
#E50182
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B481F7

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

Preview Lab → · Contrast checker → · Palette generator →

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