#8A72F8#8A72F8

#8A72F8 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.192 H 287.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A72F8
RGBrgb(138, 114, 248)
HSLhsl(251, 91%, 71%)
HSVhsv(251, 54%, 97%)
CMYKcmyk(44.4%, 54%, 0%, 2.7%)
CIE-LABlab(56.30, 41.32, -64.21)
CIE-LCHlch(56.30, 76.36, 302.76°)
OKLaboklab(64.03% 0.0593 -0.1829)
OKLCHoklch(64.03% 0.192 287.9)
XYZxyz(33.4370, 24.2139, 91.7007)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F8 #E0F872
analogous
#729DF8 #8A72F8 #CD72F8
triadic
#8A72F8 #F88A72 #72F88A
tetradic
#8A72F8 #F8729D #E0F872 #72F8CD
square
#8A72F8 #F8729D #E0F872 #72F8CD
split-complementary
#8A72F8 #F8CD72 #9DF872
monochromatic
#320BE4 #5A38F5 #8A72F8 #BAACFB #E7E2FE

Accessibility & contrast

On white

3.59
#8A72F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A72F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F8#FFFFFF#000000##000000
##8A72F81.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFD
Deuteranopia (green-blind)
#2B84F5
Tritanopia (blue-blind)
#688FAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a72f8;
/* rgb */ color: rgb(138, 114, 248);
/* oklch */ color: oklch(64.0% 0.192 287.9);
Tailwind
colors: {
  custom: {
    50: '#b29bfb',
    500: '#8a72f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f8;
$custom-light: #b29bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f8",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 250.746,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64027,
    "c": 0.19226,
    "h": 287.9
  },
  "luminance": 0.24215
}

Semantic roles & 50–950 ramp

primary
#8A72F8
secondary
#EEF5D1
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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