#8B72EC#8B72EC

#8B72EC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.177 H 289.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8B72EC
RGBrgb(139, 114, 236)
HSLhsl(252, 76%, 69%)
HSVhsv(252, 52%, 93%)
CMYKcmyk(41.1%, 51.7%, 0%, 7.5%)
CIE-LABlab(55.66, 38.22, -58.56)
CIE-LCHlch(55.66, 69.93, 303.13°)
OKLaboklab(63.34% 0.06 -0.1663)
OKLCHoklch(63.34% 0.177 289.8)
XYZxyz(31.8009, 23.5787, 82.2162)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B72EC #D3EC72
analogous
#7296EC #8B72EC #C872EC
triadic
#8B72EC #EC8B72 #72EC8B
tetradic
#8B72EC #EC7296 #D3EC72 #72ECC8
square
#8B72EC #EC7296 #D3EC72 #72ECC8
split-complementary
#8B72EC #ECC872 #96EC72
monochromatic
#3F1BC9 #5F3CE5 #8B72EC #B7A8F3 #E4DEFB

Accessibility & contrast

On white

3.67
#8B72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8B72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B72EC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B72EC#FFFFFF#000000##000000
##8B72EC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#3E83E9
Tritanopia (blue-blind)
#708BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b72ec;
/* rgb */ color: rgb(139, 114, 236);
/* oklch */ color: oklch(63.3% 0.177 289.8);
Tailwind
colors: {
  custom: {
    50: '#b29bf3',
    500: '#8b72ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b72ec;
$custom-light: #b29bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b72ec",
  "rgb": {
    "r": 139,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 252.295,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63342,
    "c": 0.17675,
    "h": 289.8
  },
  "luminance": 0.2358
}

Semantic roles & 50–950 ramp

primary
#8B72EC
secondary
#E8EFCB
accent
#D80DAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8B72EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8B72EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva