#BD7BEF#BD7BEF

#BD7BEF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.175 H 308.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#BD7BEF
RGBrgb(189, 123, 239)
HSLhsl(274, 78%, 71%)
HSVhsv(274, 49%, 94%)
CMYKcmyk(20.9%, 48.5%, 0%, 6.3%)
CIE-LABlab(62.69, 46.57, -48.75)
CIE-LCHlch(62.69, 67.42, 313.69°)
OKLaboklab(69.76% 0.1096 -0.1362)
OKLCHoklch(69.76% 0.175 308.8)
XYZxyz(43.6462, 31.2173, 85.3709)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7BEF #ADEF7B
analogous
#837BEF #BD7BEF #EF7BE7
triadic
#BD7BEF #EFBD7B #7BEFBD
tetradic
#BD7BEF #EF837B #ADEF7B #7BE7EF
square
#BD7BEF #EF837B #ADEF7B #7BE7EF
split-complementary
#BD7BEF #E7EF7B #7BEF83
monochromatic
#851AD6 #A244E8 #BD7BEF #D8B2F6 #F1E4FC

Accessibility & contrast

On white

2.90
#BD7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#BD7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7BEF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7BEF#FFFFFF#000000##000000
##BD7BEF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#B68EAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd7bef;
/* rgb */ color: rgb(189, 123, 239);
/* oklch */ color: oklch(69.8% 0.175 308.8);
Tailwind
colors: {
  custom: {
    50: '#d3a3f5',
    500: '#bd7bef',
    950: '#000000',
  },
}
SCSS
$custom: #bd7bef;
$custom-light: #d3a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7bef",
  "rgb": {
    "r": 189,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 274.138,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69763,
    "c": 0.17484,
    "h": 308.8
  },
  "luminance": 0.31217
}

Semantic roles & 50–950 ramp

primary
#BD7BEF
secondary
#E1F2D3
accent
#DB0B64
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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