#BD7FF8#BD7FF8

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

Color values

HEX#BD7FF8
RGBrgb(189, 127, 248)
HSLhsl(271, 90%, 74%)
HSVhsv(271, 49%, 97%)
CMYKcmyk(23.8%, 48.8%, 0%, 2.7%)
CIE-LABlab(63.98, 46.45, -51.67)
CIE-LCHlch(63.98, 69.48, 311.95°)
OKLaboklab(70.87% 0.1052 -0.1448)
OKLCHoklch(70.87% 0.179 306)
XYZxyz(45.5154, 32.7752, 92.7172)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD7FF8 #BAF87F
analogous
#807FF8 #BD7FF8 #F87FF6
triadic
#BD7FF8 #F8BD7F #7FF8BD
tetradic
#BD7FF8 #F8807F #BAF87F #7FF6F8
square
#BD7FF8 #F8807F #BAF87F #7FF6F8
split-complementary
#BD7FF8 #F6F87F #7FF880
monochromatic
#810DF0 #9F45F5 #BD7FF8 #DBB9FB #F0E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD7FF8#FFFFFF#000000##000000
##BD7FF81.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)
#5D99FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#B494B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bd7ff8;
/* rgb */ color: rgb(189, 127, 248);
/* oklch */ color: oklch(70.9% 0.179 306.0);
Tailwind
colors: {
  custom: {
    50: '#d3a5fb',
    500: '#bd7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #bd7ff8;
$custom-light: #d3a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd7ff8",
  "rgb": {
    "r": 189,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 270.744,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70867,
    "c": 0.17897,
    "h": 306
  },
  "luminance": 0.32775
}

Semantic roles & 50–950 ramp

primary
#BD7FF8
secondary
#E5F5D6
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BD7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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