#BD7EF4#BD7EF4

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

Color values

HEX#BD7EF4
RGBrgb(189, 126, 244)
HSLhsl(272, 84%, 73%)
HSVhsv(272, 48%, 96%)
CMYKcmyk(22.5%, 48.4%, 0%, 4.3%)
CIE-LABlab(63.57, 46.08, -50.12)
CIE-LCHlch(63.57, 68.08, 312.59°)
OKLaboklab(70.5% 0.1061 -0.1403)
OKLCHoklch(70.5% 0.176 307.1)
XYZxyz(44.7730, 32.2726, 89.4410)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EF4 #B5F47E
analogous
#827EF4 #BD7EF4 #F47EF0
triadic
#BD7EF4 #F4BD7E #7EF4BD
tetradic
#BD7EF4 #F4827E #B5F47E #7EF0F4
square
#BD7EF4 #F4827E #B5F47E #7EF0F4
split-complementary
#BD7EF4 #F0F47E #7EF482
monochromatic
#8313E4 #A046EF #BD7EF4 #DAB6F9 #F1E3FD

Accessibility & contrast

On white

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

On black

7.45
#BD7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EF4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EF4#FFFFFF#000000##000000
##BD7EF41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd7ef4;
/* rgb */ color: rgb(189, 126, 244);
/* oklch */ color: oklch(70.5% 0.176 307.1);
Tailwind
colors: {
  custom: {
    50: '#d3a5f8',
    500: '#bd7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ef4;
$custom-light: #d3a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ef4",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 272.034,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70496,
    "c": 0.17588,
    "h": 307.1
  },
  "luminance": 0.32272
}

Semantic roles & 50–950 ramp

primary
#BD7EF4
secondary
#E4F5D6
accent
#E1056B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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