#BD7EF1#BD7EF1

#BD7EF1 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.172 H 307.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BD7EF1
RGBrgb(189, 126, 241)
HSLhsl(273, 80%, 72%)
HSVhsv(273, 48%, 95%)
CMYKcmyk(21.6%, 47.7%, 0%, 5.5%)
CIE-LABlab(63.42, 45.41, -48.70)
CIE-LCHlch(63.42, 66.59, 312.99°)
OKLaboklab(70.34% 0.1058 -0.1361)
OKLCHoklch(70.34% 0.172 307.8)
XYZxyz(44.3212, 32.0919, 87.0615)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EF1 #B2F17E
analogous
#847EF1 #BD7EF1 #F17EEB
triadic
#BD7EF1 #F1BD7E #7EF1BD
tetradic
#BD7EF1 #F1847E #B2F17E #7EEBF1
square
#BD7EF1 #F1847E #B2F17E #7EEBF1
split-complementary
#BD7EF1 #EBF17E #7EF184
monochromatic
#8418DD #A147EB #BD7EF1 #D9B5F7 #F1E3FC

Accessibility & contrast

On white

2.83
#BD7EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BD7EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EF1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EF1#FFFFFF#000000##000000
##BD7EF11.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F5
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#B691AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7ef1;
/* rgb */ color: rgb(189, 126, 241);
/* oklch */ color: oklch(70.3% 0.172 307.8);
Tailwind
colors: {
  custom: {
    50: '#d3a5f6',
    500: '#bd7ef1',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ef1;
$custom-light: #d3a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ef1",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 272.87,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.17238,
    "h": 307.8
  },
  "luminance": 0.32091
}

Semantic roles & 50–950 ramp

primary
#BD7EF1
secondary
#E4F4D7
accent
#DD0969
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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