#8A72F6#8A72F6

#8A72F6 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.9% C 0.190 H 288.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A72F6
RGBrgb(138, 114, 246)
HSLhsl(251, 88%, 71%)
HSVhsv(251, 54%, 96%)
CMYKcmyk(43.9%, 53.7%, 0%, 3.5%)
CIE-LABlab(56.18, 40.76, -63.30)
CIE-LCHlch(56.18, 75.29, 302.78°)
OKLaboklab(63.9% 0.0592 -0.1802)
OKLCHoklch(63.9% 0.19 288.2)
XYZxyz(33.1284, 24.0905, 90.0753)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F6 #DEF672
analogous
#729CF6 #8A72F6 #CC72F6
triadic
#8A72F6 #F68A72 #72F68A
tetradic
#8A72F6 #F6729C #DEF672 #72F6CC
square
#8A72F6 #F6729C #DEF672 #72F6CC
split-complementary
#8A72F6 #F6CC72 #9CF672
monochromatic
#340EDF #5A38F2 #8A72F6 #BAACFA #E7E2FD

Accessibility & contrast

On white

3.61
#8A72F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A72F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F6#FFFFFF#000000##000000
##8A72F61.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8AFB
Deuteranopia (green-blind)
#2F83F3
Tritanopia (blue-blind)
#698FA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a72f6;
/* rgb */ color: rgb(138, 114, 246);
/* oklch */ color: oklch(63.9% 0.190 288.2);
Tailwind
colors: {
  custom: {
    50: '#b29bfa',
    500: '#8a72f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f6;
$custom-light: #b29bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f6",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 250.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63897,
    "c": 0.18969,
    "h": 288.2
  },
  "luminance": 0.24092
}

Semantic roles & 50–950 ramp

primary
#8A72F6
secondary
#EDF4D0
accent
#E501BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F6

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

Preview Lab → · Contrast checker → · Palette generator →

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