#BD7EFB#BD7EFB

#BD7EFB is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.184 H 305.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BD7EFB
RGBrgb(189, 126, 251)
HSLhsl(270, 94%, 74%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(24.7%, 49.8%, 0%, 1.6%)
CIE-LABlab(63.92, 47.66, -53.41)
CIE-LCHlch(63.92, 71.58, 311.74°)
OKLaboklab(70.88% 0.1068 -0.1498)
OKLCHoklch(70.88% 0.184 305.5)
XYZxyz(45.8560, 32.7059, 95.1452)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EFB #BCFB7E
analogous
#7F7EFB #BD7EFB #FB7EFB
triadic
#BD7EFB #FBBD7E #7EFBBD
tetradic
#BD7EFB #FB7F7E #BCFB7E #7EFBFB
square
#BD7EFB #FB7F7E #BCFB7E #7EFBFB
split-complementary
#BD7EFB #FBFB7E #7EFB7F
monochromatic
#8008F7 #9F43F9 #BD7EFB #DBB9FD #F0E1FE

Accessibility & contrast

On white

2.78
#BD7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#BD7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EFB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EFB#FFFFFF#000000##000000
##BD7EFB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#B394B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bd7efb;
/* rgb */ color: rgb(189, 126, 251);
/* oklch */ color: oklch(70.9% 0.184 305.5);
Tailwind
colors: {
  custom: {
    50: '#d3a5fd',
    500: '#bd7efb',
    950: '#000000',
  },
}
SCSS
$custom: #bd7efb;
$custom-light: #d3a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7efb",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 270.24,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70875,
    "c": 0.18402,
    "h": 305.5
  },
  "luminance": 0.32706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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