#BD7FEF#BD7FEF

#BD7FEF is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.168 H 308.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BD7FEF
RGBrgb(189, 127, 239)
HSLhsl(273, 78%, 72%)
HSVhsv(273, 47%, 94%)
CMYKcmyk(20.9%, 46.9%, 0%, 6.3%)
CIE-LABlab(63.53, 44.42, -47.42)
CIE-LCHlch(63.53, 64.98, 313.13°)
OKLaboklab(70.39% 0.1042 -0.1324)
OKLCHoklch(70.39% 0.168 308.2)
XYZxyz(44.1526, 32.2301, 85.5397)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FEF #B1EF7F
analogous
#857FEF #BD7FEF #EF7FE9
triadic
#BD7FEF #EFBD7F #7FEFBD
tetradic
#BD7FEF #EF857F #B1EF7F #7FE9EF
square
#BD7FEF #EF857F #B1EF7F #7FE9EF
split-complementary
#BD7FEF #E9EF7F #7FEF85
monochromatic
#841BD9 #A149E8 #BD7FEF #D9B5F6 #F1E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD7FEF#FFFFFF#000000##000000
##BD7FEF1.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)
#6397F3
Deuteranopia (green-blind)
#739BEC
Tritanopia (blue-blind)
#B691AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7fef;
/* rgb */ color: rgb(189, 127, 239);
/* oklch */ color: oklch(70.4% 0.168 308.2);
Tailwind
colors: {
  custom: {
    50: '#d3a5f5',
    500: '#bd7fef',
    950: '#000000',
  },
}
SCSS
$custom: #bd7fef;
$custom-light: #d3a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7fef",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 273.214,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.16847,
    "h": 308.2
  },
  "luminance": 0.3223
}

Semantic roles & 50–950 ramp

primary
#BD7FEF
secondary
#E3F3D7
accent
#DA0B68
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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