#8A72F5#8A72F5

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

Color values

HEX#8A72F5
RGBrgb(138, 114, 245)
HSLhsl(251, 87%, 70%)
HSVhsv(251, 53%, 96%)
CMYKcmyk(43.7%, 53.5%, 0%, 3.9%)
CIE-LABlab(56.12, 40.48, -62.85)
CIE-LCHlch(56.12, 74.76, 302.79°)
OKLaboklab(63.83% 0.0592 -0.1789)
OKLCHoklch(63.83% 0.188 288.3)
XYZxyz(32.9753, 24.0292, 89.2692)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F5 #DDF572
analogous
#729CF5 #8A72F5 #CB72F5
triadic
#8A72F5 #F58A72 #72F58A
tetradic
#8A72F5 #F5729C #DDF572 #72F5CB
square
#8A72F5 #F5729C #DDF572 #72F5CB
split-complementary
#8A72F5 #F5CB72 #9CF572
monochromatic
#3510DD #5B39F1 #8A72F5 #B9ABF9 #E7E2FD

Accessibility & contrast

On white

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

On black

5.81
#8A72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F5#FFFFFF#000000##000000
##8A72F51.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#3083F2
Tritanopia (blue-blind)
#6A8EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a72f5;
/* rgb */ color: rgb(138, 114, 245);
/* oklch */ color: oklch(63.8% 0.188 288.3);
Tailwind
colors: {
  custom: {
    50: '#b29bf9',
    500: '#8a72f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f5;
$custom-light: #b29bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f5",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 250.992,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63832,
    "c": 0.18841,
    "h": 288.3
  },
  "luminance": 0.2403
}

Semantic roles & 50–950 ramp

primary
#8A72F5
secondary
#EDF3CF
accent
#E302BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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