#BD7BEB#BD7BEB

#BD7BEB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.170 H 309.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BD7BEB
RGBrgb(189, 123, 235)
HSLhsl(275, 74%, 70%)
HSVhsv(275, 48%, 92%)
CMYKcmyk(19.6%, 47.7%, 0%, 7.8%)
CIE-LABlab(62.49, 45.69, -46.84)
CIE-LCHlch(62.49, 65.43, 314.28°)
OKLaboklab(69.55% 0.1091 -0.1307)
OKLCHoklch(69.55% 0.17 309.8)
XYZxyz(43.0618, 30.9836, 82.2931)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7BEB #A9EB7B
analogous
#857BEB #BD7BEB #EB7BE1
triadic
#BD7BEB #EBBD7B #7BEBBD
tetradic
#BD7BEB #EB857B #A9EB7B #7BE1EB
square
#BD7BEB #EB857B #A9EB7B #7BE1EB
split-complementary
#BD7BEB #E1EB7B #7BEB85
monochromatic
#851FCD #A246E3 #BD7BEB #D8B0F3 #F2E4FB

Accessibility & contrast

On white

2.92
#BD7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#BD7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7BEB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7BEB#FFFFFF#000000##000000
##BD7BEB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#B78DA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bd7beb;
/* rgb */ color: rgb(189, 123, 235);
/* oklch */ color: oklch(69.6% 0.170 309.8);
Tailwind
colors: {
  custom: {
    50: '#d3a3f2',
    500: '#bd7beb',
    950: '#000000',
  },
}
SCSS
$custom: #bd7beb;
$custom-light: #d3a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7beb",
  "rgb": {
    "r": 189,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 275.357,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69552,
    "c": 0.17026,
    "h": 309.8
  },
  "luminance": 0.30983
}

Semantic roles & 50–950 ramp

primary
#BD7BEB
secondary
#DEF0D1
accent
#D61061
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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