#8A72FA#8A72FA

#8A72FA is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.2% C 0.195 H 287.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A72FA
RGBrgb(138, 114, 250)
HSLhsl(251, 93%, 71%)
HSVhsv(251, 54%, 98%)
CMYKcmyk(44.8%, 54.4%, 0%, 2%)
CIE-LABlab(56.43, 41.88, -65.12)
CIE-LCHlch(56.43, 77.43, 302.75°)
OKLaboklab(64.16% 0.0593 -0.1856)
OKLCHoklch(64.16% 0.195 287.7)
XYZxyz(33.7489, 24.3387, 93.3436)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72FA #E2FA72
analogous
#729EFA #8A72FA #CE72FA
triadic
#8A72FA #FA8A72 #72FA8A
tetradic
#8A72FA #FA729E #E2FA72 #72FACE
square
#8A72FA #FA729E #E2FA72 #72FACE
split-complementary
#8A72FA #FACE72 #9EFA72
monochromatic
#3008E9 #5937F8 #8A72FA #BBADFC #E6E1FE

Accessibility & contrast

On white

3.58
#8A72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72FA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72FA#FFFFFF#000000##000000
##8A72FA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#278BFF
Deuteranopia (green-blind)
#2784F7
Tritanopia (blue-blind)
#6790AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a72fa;
/* rgb */ color: rgb(138, 114, 250);
/* oklch */ color: oklch(64.2% 0.195 287.7);
Tailwind
colors: {
  custom: {
    50: '#b39bfd',
    500: '#8a72fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a72fa;
$custom-light: #b39bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72fa",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 250.588,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64159,
    "c": 0.19481,
    "h": 287.7
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#8A72FA
secondary
#EFF6D2
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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