#B481FC#B481FC

#B481FC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.179 H 301.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B481FC
RGBrgb(180, 129, 252)
HSLhsl(265, 95%, 75%)
HSVhsv(265, 49%, 99%)
CMYKcmyk(28.6%, 48.8%, 0%, 1.2%)
CIE-LABlab(63.70, 43.96, -54.37)
CIE-LCHlch(63.70, 69.92, 308.96°)
OKLaboklab(70.52% 0.0922 -0.1529)
OKLCHoklch(70.52% 0.179 301.1)
XYZxyz(44.2393, 32.4319, 96.0059)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B481FC #C9FC81
analogous
#818CFC #B481FC #F281FC
triadic
#B481FC #FCB481 #81FCB4
tetradic
#B481FC #FC818C #C9FC81 #81FCF2
square
#B481FC #FC818C #C9FC81 #81FCF2
split-complementary
#B481FC #FCF281 #8CFC81
monochromatic
#6D09F9 #9045FB #B481FC #D8BDFD #EDE1FE

Accessibility & contrast

On white

2.81
#B481FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B481FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B481FC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B481FC#FFFFFF#000000##000000
##B481FC1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#A698B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b481fc;
/* rgb */ color: rgb(180, 129, 252);
/* oklch */ color: oklch(70.5% 0.179 301.1);
Tailwind
colors: {
  custom: {
    50: '#cda7fe',
    500: '#b481fc',
    950: '#000000',
  },
}
SCSS
$custom: #b481fc;
$custom-light: #cda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b481fc",
  "rgb": {
    "r": 180,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 264.878,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70516,
    "c": 0.17853,
    "h": 301.1
  },
  "luminance": 0.32432
}

Semantic roles & 50–950 ramp

primary
#B481FC
secondary
#E8F7D4
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B481FC

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

Preview Lab → · Contrast checker → · Palette generator →

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