#BD81EB#BD81EB

#BD81EB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.161 H 308.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BD81EB
RGBrgb(189, 129, 235)
HSLhsl(274, 73%, 71%)
HSVhsv(274, 45%, 92%)
CMYKcmyk(19.6%, 45.1%, 0%, 7.8%)
CIE-LABlab(63.77, 42.46, -44.83)
CIE-LCHlch(63.77, 61.75, 313.44°)
OKLaboklab(70.5% 0.1009 -0.1249)
OKLCHoklch(70.5% 0.161 308.9)
XYZxyz(43.8291, 32.5181, 82.5488)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD81EB #AFEB81
analogous
#8881EB #BD81EB #EB81E4
triadic
#BD81EB #EBBD81 #81EBBD
tetradic
#BD81EB #EB8881 #AFEB81 #81E4EB
square
#BD81EB #EB8881 #AFEB81 #81E4EB
split-complementary
#BD81EB #E4EB81 #81EB88
monochromatic
#8421D1 #A14CE3 #BD81EB #D9B6F3 #F1E5FB

Accessibility & contrast

On white

2.80
#BD81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BD81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD81EB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD81EB#FFFFFF#000000##000000
##BD81EB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#B792AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd81eb;
/* rgb */ color: rgb(189, 129, 235);
/* oklch */ color: oklch(70.5% 0.161 308.9);
Tailwind
colors: {
  custom: {
    50: '#d3a7f2',
    500: '#bd81eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd81eb;
$custom-light: #d3a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd81eb",
  "rgb": {
    "r": 189,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 273.962,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70504,
    "c": 0.16057,
    "h": 308.9
  },
  "luminance": 0.32517
}

Semantic roles & 50–950 ramp

primary
#BD81EB
secondary
#E2F2D6
accent
#D51166
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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