#B481F8#B481F8

#B481F8 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.174 H 301.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B481F8
RGBrgb(180, 129, 248)
HSLhsl(266, 89%, 74%)
HSVhsv(266, 48%, 97%)
CMYKcmyk(27.4%, 48%, 0%, 2.7%)
CIE-LABlab(63.49, 43.01, -52.50)
CIE-LCHlch(63.49, 67.87, 309.32°)
OKLaboklab(70.3% 0.0918 -0.1474)
OKLCHoklch(70.3% 0.174 301.9)
XYZxyz(43.6121, 32.1811, 92.7027)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481F8 #C5F881
analogous
#818AF8 #B481F8 #EF81F8
triadic
#B481F8 #F8B481 #81F8B4
tetradic
#B481F8 #F8818A #C5F881 #81F8EF
square
#B481F8 #F8818A #C5F881 #81F8EF
split-complementary
#B481F8 #F8EF81 #8AF881
monochromatic
#6F0DF1 #9147F5 #B481F8 #D7BBFB #EEE2FD

Accessibility & contrast

On white

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

On black

7.44
#B481F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481F8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481F8#FFFFFF#000000##000000
##B481F81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#A796B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b481f8;
/* rgb */ color: rgb(180, 129, 248);
/* oklch */ color: oklch(70.3% 0.174 301.9);
Tailwind
colors: {
  custom: {
    50: '#cda6fb',
    500: '#b481f8',
    950: '#000000',
  },
}
SCSS
$custom: #b481f8;
$custom-light: #cda6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b481f8",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 265.714,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.17367,
    "h": 301.9
  },
  "luminance": 0.32181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B481F8

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

Preview Lab → · Contrast checker → · Palette generator →

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