#BD7AFD#BD7AFD

#BD7AFD is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.192 H 305.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#BD7AFD
RGBrgb(189, 122, 253)
HSLhsl(271, 97%, 74%)
HSVhsv(271, 52%, 99%)
CMYKcmyk(25.3%, 51.8%, 0%, 0.8%)
CIE-LABlab(63.20, 50.24, -55.65)
CIE-LCHlch(63.20, 74.97, 312.07°)
OKLaboklab(70.38% 0.1121 -0.1564)
OKLCHoklch(70.38% 0.192 305.6)
XYZxyz(45.6717, 31.8301, 96.6472)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7AFD #BAFD7A
analogous
#7B7AFD #BD7AFD #FD7AFB
triadic
#BD7AFD #FDBD7A #7AFDBD
tetradic
#BD7AFD #FD7B7A #BAFD7A #7AFBFD
square
#BD7AFD #FD7B7A #BAFD7A #7AFBFD
split-complementary
#BD7AFD #FBFD7A #7AFD7B
monochromatic
#8104F9 #9F3EFC #BD7AFD #DBB6FE #F0E1FF

Accessibility & contrast

On white

2.85
#BD7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#BD7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7AFD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7AFD#FFFFFF#000000##000000
##BD7AFD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#B392B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bd7afd;
/* rgb */ color: rgb(189, 122, 253);
/* oklch */ color: oklch(70.4% 0.192 305.6);
Tailwind
colors: {
  custom: {
    50: '#d4a2ff',
    500: '#bd7afd',
    950: '#000000',
  },
}
SCSS
$custom: #bd7afd;
$custom-light: #d4a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7afd",
  "rgb": {
    "r": 189,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 270.687,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.19243,
    "h": 305.6
  },
  "luminance": 0.3183
}

Semantic roles & 50–950 ramp

primary
#BD7AFD
secondary
#E5F7D4
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BD7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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