#B281EE#B281EE

#B281EE is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.161 H 303.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B281EE
RGBrgb(178, 129, 238)
HSLhsl(267, 76%, 72%)
HSVhsv(267, 46%, 93%)
CMYKcmyk(25.2%, 45.8%, 0%, 6.7%)
CIE-LABlab(62.79, 40.12, -48.11)
CIE-LCHlch(62.79, 62.64, 309.83°)
OKLaboklab(69.56% 0.0882 -0.1347)
OKLCHoklch(69.56% 0.161 303.2)
XYZxyz(41.6396, 31.3386, 84.7276)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281EE #BDEE81
analogous
#8187EE #B281EE #E881EE
triadic
#B281EE #EEB281 #81EEB2
tetradic
#B281EE #EE8187 #BDEE81 #81EEE8
square
#B281EE #EE8187 #BDEE81 #81EEE8
split-complementary
#B281EE #EEE881 #87EE81
monochromatic
#711DD8 #914BE7 #B281EE #D3B7F5 #EFE4FB

Accessibility & contrast

On white

2.89
#B281EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B281EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281EE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281EE#FFFFFF#000000##000000
##B281EE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#A894AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b281ee;
/* rgb */ color: rgb(178, 129, 238);
/* oklch */ color: oklch(69.6% 0.161 303.2);
Tailwind
colors: {
  custom: {
    50: '#cba6f4',
    500: '#b281ee',
    950: '#000000',
  },
}
SCSS
$custom: #b281ee;
$custom-light: #cba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b281ee",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 266.972,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.16099,
    "h": 303.2
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

primary
#B281EE
secondary
#E7F3D8
accent
#D80D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B281EE

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

Preview Lab → · Contrast checker → · Palette generator →

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