#BD7FED#BD7FED

#BD7FED is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.166 H 308.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BD7FED
RGBrgb(189, 127, 237)
HSLhsl(274, 75%, 71%)
HSVhsv(274, 46%, 93%)
CMYKcmyk(20.3%, 46.4%, 0%, 7.1%)
CIE-LABlab(63.44, 43.98, -46.47)
CIE-LCHlch(63.44, 63.98, 313.43°)
OKLaboklab(70.29% 0.1039 -0.1296)
OKLCHoklch(70.29% 0.166 308.7)
XYZxyz(43.8588, 32.1126, 83.9922)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FED #AFED7F
analogous
#867FED #BD7FED #ED7FE6
triadic
#BD7FED #EDBD7F #7FEDBD
tetradic
#BD7FED #ED867F #AFED7F #7FE6ED
square
#BD7FED #ED867F #AFED7F #7FE6ED
split-complementary
#BD7FED #E6ED7F #7FED86
monochromatic
#841ED4 #A149E5 #BD7FED #D9B5F5 #F1E4FB

Accessibility & contrast

On white

2.83
#BD7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BD7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FED
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FED#FFFFFF#000000##000000
##BD7FED1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#759AEA
Tritanopia (blue-blind)
#B791AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd7fed;
/* rgb */ color: rgb(189, 127, 237);
/* oklch */ color: oklch(70.3% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#d3a5f3',
    500: '#bd7fed',
    950: '#000000',
  },
}
SCSS
$custom: #bd7fed;
$custom-light: #d3a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7fed",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 273.818,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70286,
    "c": 0.16614,
    "h": 308.7
  },
  "luminance": 0.32112
}

Semantic roles & 50–950 ramp

primary
#BD7FED
secondary
#E2F2D6
accent
#D80E66
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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