#B281E8#B281E8

#B281E8 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.154 H 304.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B281E8
RGBrgb(178, 129, 232)
HSLhsl(269, 69%, 71%)
HSVhsv(269, 44%, 91%)
CMYKcmyk(23.3%, 44.4%, 0%, 9%)
CIE-LABlab(62.50, 38.73, -45.25)
CIE-LCHlch(62.50, 59.56, 310.56°)
OKLaboklab(69.25% 0.0873 -0.1264)
OKLCHoklch(69.25% 0.154 304.7)
XYZxyz(40.7728, 30.9919, 80.1623)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281E8 #B7E881
analogous
#8183E8 #B281E8 #E681E8
triadic
#B281E8 #E8B281 #81E8B2
tetradic
#B281E8 #E88183 #B7E881 #81E8E6
square
#B281E8 #E88183 #B7E881 #81E8E6
split-complementary
#B281E8 #E8E681 #83E881
monochromatic
#7325CA #924DDF #B281E8 #D2B5F1 #EFE5FA

Accessibility & contrast

On white

2.92
#B281E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B281E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281E8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281E8#FFFFFF#000000##000000
##B281E81.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7297E5
Tritanopia (blue-blind)
#A992A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b281e8;
/* rgb */ color: rgb(178, 129, 232);
/* oklch */ color: oklch(69.3% 0.154 304.7);
Tailwind
colors: {
  custom: {
    50: '#cba6f0',
    500: '#b281e8',
    950: '#000000',
  },
}
SCSS
$custom: #b281e8;
$custom-light: #cba6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b281e8",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 268.544,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.15361,
    "h": 304.7
  },
  "luminance": 0.30992
}

Semantic roles & 50–950 ramp

primary
#B281E8
secondary
#E3F0D5
accent
#D11477
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B281E8

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

Preview Lab → · Contrast checker → · Palette generator →

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