#8A72FB#8A72FB

#8A72FB is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.2% C 0.196 H 287.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A72FB
RGBrgb(138, 114, 251)
HSLhsl(251, 94%, 72%)
HSVhsv(251, 55%, 98%)
CMYKcmyk(45%, 54.6%, 0%, 1.6%)
CIE-LABlab(56.49, 42.16, -65.57)
CIE-LCHlch(56.49, 77.96, 302.74°)
OKLaboklab(64.22% 0.0593 -0.1869)
OKLCHoklch(64.22% 0.196 287.6)
XYZxyz(33.9061, 24.4016, 94.1715)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72FB #E3FB72
analogous
#729FFB #8A72FB #CF72FB
triadic
#8A72FB #FB8A72 #72FB8A
tetradic
#8A72FB #FB729F #E3FB72 #72FBCF
square
#8A72FB #FB729F #E3FB72 #72FBCF
split-complementary
#8A72FB #FBCF72 #9FFB72
monochromatic
#2F07EC #5936F9 #8A72FB #BBAEFD #E6E1FE

Accessibility & contrast

On white

3.57
#8A72FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A72FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72FB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72FB#FFFFFF#000000##000000
##8A72FB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#2584F8
Tritanopia (blue-blind)
#6690AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a72fb;
/* rgb */ color: rgb(138, 114, 251);
/* oklch */ color: oklch(64.2% 0.196 287.6);
Tailwind
colors: {
  custom: {
    50: '#b39bfd',
    500: '#8a72fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a72fb;
$custom-light: #b39bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72fb",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 250.511,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.19609,
    "h": 287.6
  },
  "luminance": 0.24403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A72FB

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

Preview Lab → · Contrast checker → · Palette generator →

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