#B281FF#B281FF

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

Color values

HEX#B281FF
RGBrgb(178, 129, 255)
HSLhsl(263, 100%, 75%)
HSVhsv(263, 49%, 100%)
CMYKcmyk(30.2%, 49.4%, 0%, 0%)
CIE-LABlab(63.66, 44.18, -56.09)
CIE-LCHlch(63.66, 71.40, 308.22°)
OKLaboklab(70.49% 0.0901 -0.158)
OKLCHoklch(70.49% 0.182 299.7)
XYZxyz(44.2561, 32.3852, 98.5077)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281FF #CEFF81
analogous
#818FFF #B281FF #F181FF
triadic
#B281FF #FFB281 #81FFB2
tetradic
#B281FF #FF818F #CEFF81 #81FFF1
square
#B281FF #FF818F #CEFF81 #81FFF1
split-complementary
#B281FF #FFF181 #8FFF81
monochromatic
#6707FF #8D44FF #B281FF #D7BEFF #ECE0FF

Accessibility & contrast

On white

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

On black

7.48
#B281FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281FF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281FF#FFFFFF#000000##000000
##B281FF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#569AFF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#A299B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b281ff;
/* rgb */ color: rgb(178, 129, 255);
/* oklch */ color: oklch(70.5% 0.182 299.7);
Tailwind
colors: {
  custom: {
    50: '#cca6ff',
    500: '#b281ff',
    950: '#000000',
  },
}
SCSS
$custom: #b281ff;
$custom-light: #cca6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b281ff",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 263.333,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70493,
    "c": 0.18183,
    "h": 299.7
  },
  "luminance": 0.32385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B281FF

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

Preview Lab → · Contrast checker → · Palette generator →

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