#8A72EB#8A72EB

#8A72EB is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.2% C 0.175 H 289.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A72EB
RGBrgb(138, 114, 235)
HSLhsl(252, 75%, 68%)
HSVhsv(252, 51%, 92%)
CMYKcmyk(41.3%, 51.5%, 0%, 7.8%)
CIE-LABlab(55.52, 37.71, -58.24)
CIE-LCHlch(55.52, 69.39, 302.92°)
OKLaboklab(63.19% 0.0587 -0.1654)
OKLCHoklch(63.19% 0.175 289.5)
XYZxyz(31.4898, 23.4350, 81.4454)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72EB #D3EB72
analogous
#7296EB #8A72EB #C672EB
triadic
#8A72EB #EB8A72 #72EB8A
tetradic
#8A72EB #EB7296 #D3EB72 #72EBC6
square
#8A72EB #EB7296 #D3EB72 #72EBC6
split-complementary
#8A72EB #EBC672 #96EB72
monochromatic
#3E1CC6 #5E3CE3 #8A72EB #B6A8F3 #E3DDFA

Accessibility & contrast

On white

3.69
#8A72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72EB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72EB#FFFFFF#000000##000000
##8A72EB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#6F8BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a72eb;
/* rgb */ color: rgb(138, 114, 235);
/* oklch */ color: oklch(63.2% 0.175 289.5);
Tailwind
colors: {
  custom: {
    50: '#b19bf2',
    500: '#8a72eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a72eb;
$custom-light: #b19bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72eb",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 251.901,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63193,
    "c": 0.17546,
    "h": 289.5
  },
  "luminance": 0.23436
}

Semantic roles & 50–950 ramp

primary
#8A72EB
secondary
#E7EFCA
accent
#D70EAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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