#BD7EF5#BD7EF5

#BD7EF5 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.177 H 306.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BD7EF5
RGBrgb(189, 126, 245)
HSLhsl(272, 86%, 73%)
HSVhsv(272, 49%, 96%)
CMYKcmyk(22.9%, 48.6%, 0%, 3.9%)
CIE-LABlab(63.62, 46.30, -50.59)
CIE-LCHlch(63.62, 68.58, 312.46°)
OKLaboklab(70.55% 0.1062 -0.1416)
OKLCHoklch(70.55% 0.177 306.9)
XYZxyz(44.9252, 32.3335, 90.2428)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EF5 #B6F57E
analogous
#817EF5 #BD7EF5 #F57EF1
triadic
#BD7EF5 #F5BD7E #7EF5BD
tetradic
#BD7EF5 #F5817E #B6F57E #7EF1F5
square
#BD7EF5 #F5817E #B6F57E #7EF1F5
split-complementary
#BD7EF5 #F1F57E #7EF581
monochromatic
#8312E7 #A045F1 #BD7EF5 #DAB7F9 #F0E3FD

Accessibility & contrast

On white

2.81
#BD7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#BD7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EF5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EF5#FFFFFF#000000##000000
##BD7EF51.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#6F9BF2
Tritanopia (blue-blind)
#B592AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7ef5;
/* rgb */ color: rgb(189, 126, 245);
/* oklch */ color: oklch(70.5% 0.177 306.9);
Tailwind
colors: {
  custom: {
    50: '#d3a5f9',
    500: '#bd7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ef5;
$custom-light: #d3a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ef5",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 271.765,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7055,
    "c": 0.17703,
    "h": 306.9
  },
  "luminance": 0.32333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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