#BD7FEE#BD7FEE

#BD7FEE is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.167 H 308.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BD7FEE
RGBrgb(189, 127, 238)
HSLhsl(274, 77%, 72%)
HSVhsv(274, 47%, 93%)
CMYKcmyk(20.6%, 46.6%, 0%, 6.7%)
CIE-LABlab(63.48, 44.20, -46.94)
CIE-LCHlch(63.48, 64.48, 313.28°)
OKLaboklab(70.34% 0.104 -0.131)
OKLCHoklch(70.34% 0.167 308.5)
XYZxyz(44.0053, 32.1712, 84.7638)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FEE #B0EE7F
analogous
#867FEE #BD7FEE #EE7FE7
triadic
#BD7FEE #EEBD7F #7FEEBD
tetradic
#BD7FEE #EE867F #B0EE7F #7FE7EE
square
#BD7FEE #EE867F #B0EE7F #7FE7EE
split-complementary
#BD7FEE #E7EE7F #7FEE86
monochromatic
#841CD6 #A149E7 #BD7FEE #D9B5F5 #F1E4FB

Accessibility & contrast

On white

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

On black

7.43
#BD7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FEE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FEE#FFFFFF#000000##000000
##BD7FEE1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#749BEB
Tritanopia (blue-blind)
#B691AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7fee;
/* rgb */ color: rgb(189, 127, 238);
/* oklch */ color: oklch(70.3% 0.167 308.5);
Tailwind
colors: {
  custom: {
    50: '#d3a5f4',
    500: '#bd7fee',
    950: '#000000',
  },
}
SCSS
$custom: #bd7fee;
$custom-light: #d3a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7fee",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 273.514,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.1673,
    "h": 308.5
  },
  "luminance": 0.32171
}

Semantic roles & 50–950 ramp

primary
#BD7FEE
secondary
#E3F3D6
accent
#D90D67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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