#BD7CFB#BD7CFB

#BD7CFB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.6% C 0.187 H 305.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#BD7CFB
RGBrgb(189, 124, 251)
HSLhsl(271, 94%, 74%)
HSVhsv(271, 51%, 98%)
CMYKcmyk(24.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(63.51, 48.73, -54.07)
CIE-LCHlch(63.51, 72.79, 312.02°)
OKLaboklab(70.57% 0.1094 -0.1518)
OKLCHoklch(70.57% 0.187 305.8)
XYZxyz(45.6029, 32.1995, 95.0608)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7CFB #BAFB7C
analogous
#7D7CFB #BD7CFB #FB7CF9
triadic
#BD7CFB #FBBD7C #7CFBBD
tetradic
#BD7CFB #FB7D7C #BAFB7C #7CF9FB
square
#BD7CFB #FB7D7C #BAFB7C #7CF9FB
split-complementary
#BD7CFB #F9FB7C #7CFB7D
monochromatic
#8107F5 #9F41F9 #BD7CFB #DBB7FD #F0E1FE

Accessibility & contrast

On white

2.82
#BD7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#BD7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7CFB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7CFB#FFFFFF#000000##000000
##BD7CFB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#B393B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7cfb;
/* rgb */ color: rgb(189, 124, 251);
/* oklch */ color: oklch(70.6% 0.187 305.8);
Tailwind
colors: {
  custom: {
    50: '#d4a4fd',
    500: '#bd7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #bd7cfb;
$custom-light: #d4a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7cfb",
  "rgb": {
    "r": 189,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 270.709,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70567,
    "c": 0.18709,
    "h": 305.8
  },
  "luminance": 0.32199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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