#BD7FEB#BD7FEB

#BD7FEB is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.164 H 309.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BD7FEB
RGBrgb(189, 127, 235)
HSLhsl(274, 73%, 71%)
HSVhsv(274, 46%, 92%)
CMYKcmyk(19.6%, 46%, 0%, 7.8%)
CIE-LABlab(63.34, 43.54, -45.51)
CIE-LCHlch(63.34, 62.98, 313.73°)
OKLaboklab(70.18% 0.1036 -0.1269)
OKLCHoklch(70.18% 0.164 309.2)
XYZxyz(43.5682, 31.9963, 82.4619)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FEB #ADEB7F
analogous
#877FEB #BD7FEB #EB7FE3
triadic
#BD7FEB #EBBD7F #7FEBBD
tetradic
#BD7FEB #EB877F #ADEB7F #7FE3EB
square
#BD7FEB #EB877F #ADEB7F #7FE3EB
split-complementary
#BD7FEB #E3EB7F #7FEB87
monochromatic
#8520CF #A24AE3 #BD7FEB #D8B4F3 #F1E5FB

Accessibility & contrast

On white

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

On black

7.40
#BD7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FEB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FEB#FFFFFF#000000##000000
##BD7FEB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597EF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#B790AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bd7feb;
/* rgb */ color: rgb(189, 127, 235);
/* oklch */ color: oklch(70.2% 0.164 309.2);
Tailwind
colors: {
  custom: {
    50: '#d3a5f2',
    500: '#bd7feb',
    950: '#000000',
  },
}
SCSS
$custom: #bd7feb;
$custom-light: #d3a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7feb",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 274.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70183,
    "c": 0.16381,
    "h": 309.2
  },
  "luminance": 0.31996
}

Semantic roles & 50–950 ramp

primary
#BD7FEB
secondary
#E1F1D5
accent
#D51064
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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