#BD7EF8#BD7EF8

#BD7EF8 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.181 H 306.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BD7EF8
RGBrgb(189, 126, 248)
HSLhsl(271, 90%, 73%)
HSVhsv(271, 49%, 97%)
CMYKcmyk(23.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(63.77, 46.98, -52.01)
CIE-LCHlch(63.77, 70.08, 312.09°)
OKLaboklab(70.71% 0.1065 -0.1457)
OKLCHoklch(70.71% 0.181 306.2)
XYZxyz(45.3869, 32.5182, 92.6743)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EF8 #B9F87E
analogous
#807EF8 #BD7EF8 #F87EF6
triadic
#BD7EF8 #F8BD7E #7EF8BD
tetradic
#BD7EF8 #F8807E #B9F87E #7EF6F8
square
#BD7EF8 #F8807E #B9F87E #7EF6F8
split-complementary
#BD7EF8 #F6F87E #7EF880
monochromatic
#820DEF #9F44F5 #BD7EF8 #DBB8FB #F0E2FD

Accessibility & contrast

On white

2.80
#BD7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BD7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EF8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EF8#FFFFFF#000000##000000
##BD7EF81.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#B493B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7ef8;
/* rgb */ color: rgb(189, 126, 248);
/* oklch */ color: oklch(70.7% 0.181 306.2);
Tailwind
colors: {
  custom: {
    50: '#d3a5fb',
    500: '#bd7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ef8;
$custom-light: #d3a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ef8",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 270.984,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70711,
    "c": 0.18053,
    "h": 306.2
  },
  "luminance": 0.32518
}

Semantic roles & 50–950 ramp

primary
#BD7EF8
secondary
#E5F6D5
accent
#E6006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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