#8A72F4#8A72F4

#8A72F4 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.8% C 0.187 H 288.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A72F4
RGBrgb(138, 114, 244)
HSLhsl(251, 86%, 70%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(43.4%, 53.3%, 0%, 4.3%)
CIE-LABlab(56.06, 40.21, -62.39)
CIE-LCHlch(56.06, 74.22, 302.80°)
OKLaboklab(63.77% 0.0591 -0.1775)
OKLCHoklch(63.77% 0.187 288.4)
XYZxyz(32.8231, 23.9683, 88.4673)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F4 #DCF472
analogous
#729BF4 #8A72F4 #CB72F4
triadic
#8A72F4 #F48A72 #72F48A
tetradic
#8A72F4 #F4729B #DCF472 #72F4CB
square
#8A72F4 #F4729B #DCF472 #72F4CB
split-complementary
#8A72F4 #F4CB72 #9BF472
monochromatic
#3611DB #5B39F0 #8A72F4 #B9ABF8 #E7E3FD

Accessibility & contrast

On white

3.62
#8A72F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A72F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F4#FFFFFF#000000##000000
##8A72F41.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3189F8
Deuteranopia (green-blind)
#3283F1
Tritanopia (blue-blind)
#6A8EA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a72f4;
/* rgb */ color: rgb(138, 114, 244);
/* oklch */ color: oklch(63.8% 0.187 288.4);
Tailwind
colors: {
  custom: {
    50: '#b29bf8',
    500: '#8a72f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f4;
$custom-light: #b29bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f4",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 251.077,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63767,
    "c": 0.18712,
    "h": 288.4
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#8A72F4
secondary
#ECF3CF
accent
#E203B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F4

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

Preview Lab → · Contrast checker → · Palette generator →

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