#8A72F9#8A72F9

#8A72F9 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.194 H 287.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A72F9
RGBrgb(138, 114, 249)
HSLhsl(251, 92%, 71%)
HSVhsv(251, 54%, 98%)
CMYKcmyk(44.6%, 54.2%, 0%, 2.4%)
CIE-LABlab(56.36, 41.60, -64.67)
CIE-LCHlch(56.36, 76.89, 302.75°)
OKLaboklab(64.09% 0.0593 -0.1842)
OKLCHoklch(64.09% 0.194 287.8)
XYZxyz(33.5925, 24.2761, 92.5199)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F9 #E1F972
analogous
#729DF9 #8A72F9 #CE72F9
triadic
#8A72F9 #F98A72 #72F98A
tetradic
#8A72F9 #F9729D #E1F972 #72F9CE
square
#8A72F9 #F9729D #E1F972 #72F9CE
split-complementary
#8A72F9 #F9CE72 #9DF972
monochromatic
#310AE7 #5937F7 #8A72F9 #BBADFB #E7E2FE

Accessibility & contrast

On white

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

On black

5.86
#8A72F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F9#FFFFFF#000000##000000
##8A72F91.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFE
Deuteranopia (green-blind)
#2984F6
Tritanopia (blue-blind)
#678FAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a72f9;
/* rgb */ color: rgb(138, 114, 249);
/* oklch */ color: oklch(64.1% 0.194 287.8);
Tailwind
colors: {
  custom: {
    50: '#b29bfc',
    500: '#8a72f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f9;
$custom-light: #b29bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f9",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 250.667,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64093,
    "c": 0.19354,
    "h": 287.8
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#8A72F9
secondary
#EFF5D2
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8A72F9

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

Preview Lab → · Contrast checker → · Palette generator →

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