#BD7FE2#BD7FE2

#BD7FE2 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.153 H 311.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BD7FE2
RGBrgb(189, 127, 226)
HSLhsl(278, 63%, 69%)
HSVhsv(278, 44%, 89%)
CMYKcmyk(16.4%, 43.8%, 0%, 11.4%)
CIE-LABlab(62.92, 41.58, -41.18)
CIE-LCHlch(62.92, 58.52, 315.28°)
OKLaboklab(69.73% 0.1023 -0.1143)
OKLCHoklch(69.73% 0.153 311.8)
XYZxyz(42.3007, 31.4893, 75.7864)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FE2 #A4E27F
analogous
#8C7FE2 #BD7FE2 #E27FD5
triadic
#BD7FE2 #E2BD7F #7FE2BD
tetradic
#BD7FE2 #E28C7F #A4E27F #7FD5E2
square
#BD7FE2 #E28C7F #A4E27F #7FD5E2
split-complementary
#BD7FE2 #D5E27F #7FE28C
monochromatic
#862BBC #A34DD7 #BD7FE2 #D7B1ED #F0E3F9

Accessibility & contrast

On white

2.88
#BD7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BD7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD7FE2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD7FE2#FFFFFF#000000##000000
##BD7FE21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#7A9ADF
Tritanopia (blue-blind)
#B98EA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bd7fe2;
/* rgb */ color: rgb(189, 127, 226);
/* oklch */ color: oklch(69.7% 0.153 311.8);
Tailwind
colors: {
  custom: {
    50: '#d2a5eb',
    500: '#bd7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bd7fe2;
$custom-light: #d2a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7fe2",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 277.576,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6973,
    "c": 0.15339,
    "h": 311.8
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#BD7FE2
secondary
#DBEDD0
accent
#CB1B5D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BD7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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