#B281FD#B281FD

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

Color values

HEX#B281FD
RGBrgb(178, 129, 253)
HSLhsl(264, 97%, 75%)
HSVhsv(264, 49%, 99%)
CMYKcmyk(29.6%, 49%, 0%, 0.8%)
CIE-LABlab(63.55, 43.69, -55.16)
CIE-LCHlch(63.55, 70.37, 308.38°)
OKLaboklab(70.38% 0.0899 -0.1552)
OKLCHoklch(70.38% 0.179 300.1)
XYZxyz(43.9358, 32.2571, 96.8210)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281FD #CCFD81
analogous
#818EFD #B281FD #F081FD
triadic
#B281FD #FDB281 #81FDB2
tetradic
#B281FD #FD818E #CCFD81 #81FDF0
square
#B281FD #FD818E #CCFD81 #81FDF0
split-complementary
#B281FD #FDF081 #8EFD81
monochromatic
#6809FB #8D45FC #B281FD #D7BDFE #EDE1FF

Accessibility & contrast

On white

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

On black

7.45
#B281FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281FD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281FD#FFFFFF#000000##000000
##B281FD1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#A398B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b281fd;
/* rgb */ color: rgb(178, 129, 253);
/* oklch */ color: oklch(70.4% 0.179 300.1);
Tailwind
colors: {
  custom: {
    50: '#cca6fe',
    500: '#b281fd',
    950: '#000000',
  },
}
SCSS
$custom: #b281fd;
$custom-light: #cca6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b281fd",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 263.71,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70381,
    "c": 0.17938,
    "h": 300.1
  },
  "luminance": 0.32257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B281FD

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

Preview Lab → · Contrast checker → · Palette generator →

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