#B481F2#B481F2

#B481F2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.166 H 303.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B481F2
RGBrgb(180, 129, 242)
HSLhsl(267, 81%, 73%)
HSVhsv(267, 47%, 95%)
CMYKcmyk(25.6%, 46.7%, 0%, 5.1%)
CIE-LABlab(63.19, 41.60, -49.68)
CIE-LCHlch(63.19, 64.79, 309.94°)
OKLaboklab(69.97% 0.0911 -0.1392)
OKLCHoklch(69.97% 0.166 303.2)
XYZxyz(42.6962, 31.8147, 87.8787)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481F2 #BFF281
analogous
#8186F2 #B481F2 #ED81F2
triadic
#B481F2 #F2B481 #81F2B4
tetradic
#B481F2 #F28186 #BFF281 #81F2ED
square
#B481F2 #F28186 #BFF281 #81F2ED
split-complementary
#B481F2 #F2ED81 #86F281
monochromatic
#7217E1 #934AEC #B481F2 #D5B8F8 #EEE3FC

Accessibility & contrast

On white

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

On black

7.36
#B481F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481F2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481F2#FFFFFF#000000##000000
##B481F21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#6D99EF
Tritanopia (blue-blind)
#A995AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b481f2;
/* rgb */ color: rgb(180, 129, 242);
/* oklch */ color: oklch(70.0% 0.166 303.2);
Tailwind
colors: {
  custom: {
    50: '#cda6f7',
    500: '#b481f2',
    950: '#000000',
  },
}
SCSS
$custom: #b481f2;
$custom-light: #cda6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b481f2",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 267.08,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69971,
    "c": 0.16635,
    "h": 303.2
  },
  "luminance": 0.31815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B481F2

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

Preview Lab → · Contrast checker → · Palette generator →

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