#BD72EC#BD72EC

#BD72EC is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.186 H 310.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#BD72EC
RGBrgb(189, 114, 236)
HSLhsl(277, 76%, 69%)
HSVhsv(277, 52%, 93%)
CMYKcmyk(19.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(60.70, 50.65, -50.23)
CIE-LCHlch(60.70, 71.34, 315.24°)
OKLaboklab(68.24% 0.1212 -0.1405)
OKLCHoklch(68.24% 0.186 310.8)
XYZxyz(42.1411, 28.9104, 82.7009)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD72EC #A1EC72
analogous
#8072EC #BD72EC #EC72DE
triadic
#BD72EC #ECBD72 #72ECBD
tetradic
#BD72EC #EC8072 #A1EC72 #72DEEC
square
#BD72EC #EC8072 #A1EC72 #72DEEC
split-complementary
#BD72EC #DEEC72 #72EC80
monochromatic
#861BC9 #A43CE5 #BD72EC #D6A8F3 #EFDEFB

Accessibility & contrast

On white

3.10
#BD72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#BD72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD72EC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD72EC#FFFFFF#000000##000000
##BD72EC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#B787A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bd72ec;
/* rgb */ color: rgb(189, 114, 236);
/* oklch */ color: oklch(68.2% 0.186 310.8);
Tailwind
colors: {
  custom: {
    50: '#d39df3',
    500: '#bd72ec',
    950: '#000000',
  },
}
SCSS
$custom: #bd72ec;
$custom-light: #d39df3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd72ec",
  "rgb": {
    "r": 189,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 276.885,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6824,
    "c": 0.1856,
    "h": 310.8
  },
  "luminance": 0.2891
}

Semantic roles & 50–950 ramp

primary
#BD72EC
secondary
#D9EFCB
accent
#D80D5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BD72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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