#BD7EFC#BD7EFC

#BD7EFC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.185 H 305.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#BD7EFC
RGBrgb(189, 126, 252)
HSLhsl(270, 95%, 74%)
HSVhsv(270, 50%, 99%)
CMYKcmyk(25%, 50%, 0%, 1.2%)
CIE-LABlab(63.97, 47.89, -53.88)
CIE-LCHlch(63.97, 72.09, 311.63°)
OKLaboklab(70.93% 0.1069 -0.1512)
OKLCHoklch(70.93% 0.185 305.3)
XYZxyz(46.0141, 32.7691, 95.9776)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7EFC #BDFC7E
analogous
#7E7EFC #BD7EFC #FC7EFC
triadic
#BD7EFC #FCBD7E #7EFCBD
tetradic
#BD7EFC #FC7E7E #BDFC7E #7EFCFC
square
#BD7EFC #FC7E7E #BDFC7E #7EFCFC
split-complementary
#BD7EFC #FCFC7E #7EFC7E
monochromatic
#8006F9 #9E42FB #BD7EFC #DCBAFD #F0E1FE

Accessibility & contrast

On white

2.78
#BD7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#BD7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7EFC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7EFC#FFFFFF#000000##000000
##BD7EFC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#B394B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bd7efc;
/* rgb */ color: rgb(189, 126, 252);
/* oklch */ color: oklch(70.9% 0.185 305.3);
Tailwind
colors: {
  custom: {
    50: '#d4a5fe',
    500: '#bd7efc',
    950: '#000000',
  },
}
SCSS
$custom: #bd7efc;
$custom-light: #d4a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7efc",
  "rgb": {
    "r": 189,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7093,
    "c": 0.18518,
    "h": 305.3
  },
  "luminance": 0.32769
}

Semantic roles & 50–950 ramp

primary
#BD7EFC
secondary
#E6F7D4
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BD7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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