#B281FE#B281FE

#B281FE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.4% C 0.181 H 299.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B281FE
RGBrgb(178, 129, 254)
HSLhsl(264, 98%, 75%)
HSVhsv(264, 49%, 100%)
CMYKcmyk(29.9%, 49.2%, 0%, 0.4%)
CIE-LABlab(63.61, 43.93, -55.63)
CIE-LCHlch(63.61, 70.88, 308.30°)
OKLaboklab(70.44% 0.09 -0.1566)
OKLCHoklch(70.44% 0.181 299.9)
XYZxyz(44.0955, 32.3210, 97.6622)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281FE #CDFE81
analogous
#818EFE #B281FE #F081FE
triadic
#B281FE #FEB281 #81FEB2
tetradic
#B281FE #FE818E #CDFE81 #81FEF0
square
#B281FE #FE818E #CDFE81 #81FEF0
split-complementary
#B281FE #FEF081 #8EFE81
monochromatic
#6808FD #8D44FE #B281FE #D7BEFE #ECE1FF

Accessibility & contrast

On white

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

On black

7.46
#B281FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281FE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281FE#FFFFFF#000000##000000
##B281FE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#A398B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b281fe;
/* rgb */ color: rgb(178, 129, 254);
/* oklch */ color: oklch(70.4% 0.181 299.9);
Tailwind
colors: {
  custom: {
    50: '#cca6ff',
    500: '#b281fe',
    950: '#000000',
  },
}
SCSS
$custom: #b281fe;
$custom-light: #cca6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b281fe",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 263.52,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.18061,
    "h": 299.9
  },
  "luminance": 0.32321
}

Semantic roles & 50–950 ramp

primary
#B281FE
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B281FE

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

Preview Lab → · Contrast checker → · Palette generator →

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