#BD81FC#BD81FC

#BD81FC is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.181 H 304.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#BD81FC
RGBrgb(189, 129, 252)
HSLhsl(269, 95%, 75%)
HSVhsv(269, 49%, 99%)
CMYKcmyk(25%, 48.8%, 0%, 1.2%)
CIE-LABlab(64.60, 46.29, -52.88)
CIE-LCHlch(64.60, 70.28, 311.19°)
OKLaboklab(71.4% 0.103 -0.1483)
OKLCHoklch(71.4% 0.181 304.8)
XYZxyz(46.4035, 33.5478, 96.1073)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD81FC #C0FC81
analogous
#8183FC #BD81FC #FA81FC
triadic
#BD81FC #FCBD81 #81FCBD
tetradic
#BD81FC #FC8183 #C0FC81 #81FCFA
square
#BD81FC #FC8183 #C0FC81 #81FCFA
split-complementary
#BD81FC #FCFA81 #83FC81
monochromatic
#7E09F9 #9E45FB #BD81FC #DCBDFD #EFE1FE

Accessibility & contrast

On white

2.72
#BD81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#BD81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD81FC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD81FC#FFFFFF#000000##000000
##BD81FC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#B397B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bd81fc;
/* rgb */ color: rgb(189, 129, 252);
/* oklch */ color: oklch(71.4% 0.181 304.8);
Tailwind
colors: {
  custom: {
    50: '#d3a7fe',
    500: '#bd81fc',
    950: '#000000',
  },
}
SCSS
$custom: #bd81fc;
$custom-light: #d3a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd81fc",
  "rgb": {
    "r": 189,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 269.268,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.18056,
    "h": 304.8
  },
  "luminance": 0.33548
}

Semantic roles & 50–950 ramp

primary
#BD81FC
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BD81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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