#BD81F6#BD81F6

#BD81F6 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.173 H 306.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BD81F6
RGBrgb(189, 129, 246)
HSLhsl(271, 87%, 74%)
HSVhsv(271, 48%, 96%)
CMYKcmyk(23.2%, 47.6%, 0%, 3.5%)
CIE-LABlab(64.30, 44.92, -50.06)
CIE-LCHlch(64.30, 67.26, 311.90°)
OKLaboklab(71.08% 0.1023 -0.1401)
OKLCHoklch(71.08% 0.173 306.1)
XYZxyz(45.4677, 33.1735, 91.1787)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD81F6 #BAF681
analogous
#8281F6 #BD81F6 #F681F5
triadic
#BD81F6 #F6BD81 #81F6BD
tetradic
#BD81F6 #F68281 #BAF681 #81F5F6
square
#BD81F6 #F68281 #BAF681 #81F5F6
split-complementary
#BD81F6 #F5F681 #81F682
monochromatic
#8111EC #9F48F2 #BD81F6 #DBBAFA #F0E2FD

Accessibility & contrast

On white

2.75
#BD81F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#BD81F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD81F6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD81F6#FFFFFF#000000##000000
##BD81F61.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#B495B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd81f6;
/* rgb */ color: rgb(189, 129, 246);
/* oklch */ color: oklch(71.1% 0.173 306.1);
Tailwind
colors: {
  custom: {
    50: '#d3a7f9',
    500: '#bd81f6',
    950: '#000000',
  },
}
SCSS
$custom: #bd81f6;
$custom-light: #d3a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd81f6",
  "rgb": {
    "r": 189,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 270.769,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71075,
    "c": 0.17349,
    "h": 306.1
  },
  "luminance": 0.33173
}

Semantic roles & 50–950 ramp

primary
#BD81F6
secondary
#E5F5D6
accent
#E30270
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD81F6

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

Preview Lab → · Contrast checker → · Palette generator →

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