#BD7FEA#BD7FEA

#BD7FEA is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.163 H 309.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#BD7FEA
RGBrgb(189, 127, 234)
HSLhsl(275, 72%, 71%)
HSVhsv(275, 46%, 92%)
CMYKcmyk(19.2%, 45.7%, 0%, 8.2%)
CIE-LABlab(63.29, 43.32, -45.03)
CIE-LCHlch(63.29, 62.48, 313.89°)
OKLaboklab(70.13% 0.1035 -0.1255)
OKLCHoklch(70.13% 0.163 309.5)
XYZxyz(43.4241, 31.9387, 81.7032)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FEA #ACEA7F
analogous
#877FEA #BD7FEA #EA7FE2
triadic
#BD7FEA #EABD7F #7FEABD
tetradic
#BD7FEA #EA877F #ACEA7F #7FE2EA
square
#BD7FEA #EA877F #ACEA7F #7FE2EA
split-complementary
#BD7FEA #E2EA7F #7FEA87
monochromatic
#8522CD #A24AE1 #BD7FEA #D8B4F3 #F1E5FB

Accessibility & contrast

On white

2.84
#BD7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#BD7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FEA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FEA#FFFFFF#000000##000000
##BD7FEA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#B790A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bd7fea;
/* rgb */ color: rgb(189, 127, 234);
/* oklch */ color: oklch(70.1% 0.163 309.5);
Tailwind
colors: {
  custom: {
    50: '#d3a5f1',
    500: '#bd7fea',
    950: '#000000',
  },
}
SCSS
$custom: #bd7fea;
$custom-light: #d3a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7fea",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 274.766,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.16264,
    "h": 309.5
  },
  "luminance": 0.31938
}

Semantic roles & 50–950 ramp

primary
#BD7FEA
secondary
#E0F1D4
accent
#D41263
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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