#8A72FD#8A72FD

#8A72FD is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.4% C 0.199 H 287.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A72FD
RGBrgb(138, 114, 253)
HSLhsl(250, 97%, 72%)
HSVhsv(250, 55%, 99%)
CMYKcmyk(45.5%, 54.9%, 0%, 0.8%)
CIE-LABlab(56.61, 42.72, -66.48)
CIE-LCHlch(56.61, 79.02, 302.73°)
OKLaboklab(64.36% 0.0594 -0.1896)
OKLCHoklch(64.36% 0.199 287.4)
XYZxyz(34.2231, 24.5283, 95.8407)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72FD #E5FD72
analogous
#72A0FD #8A72FD #D072FD
triadic
#8A72FD #FD8A72 #72FD8A
tetradic
#8A72FD #FD72A0 #E5FD72 #72FDD0
square
#8A72FD #FD72A0 #E5FD72 #72FDD0
split-complementary
#8A72FD #FDD072 #A0FD72
monochromatic
#2C03F1 #5836FC #8A72FD #BCAEFE #E6E1FF

Accessibility & contrast

On white

3.56
#8A72FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A72FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72FD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72FD#FFFFFF#000000##000000
##8A72FD1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#208BFF
Deuteranopia (green-blind)
#2084FA
Tritanopia (blue-blind)
#6591AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a72fd;
/* rgb */ color: rgb(138, 114, 253);
/* oklch */ color: oklch(64.4% 0.199 287.4);
Tailwind
colors: {
  custom: {
    50: '#b39bff',
    500: '#8a72fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a72fd;
$custom-light: #b39bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72fd",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 250.36,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.19864,
    "h": 287.4
  },
  "luminance": 0.2453
}

Semantic roles & 50–950 ramp

primary
#8A72FD
secondary
#F1F7D4
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A72FD

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

Preview Lab → · Contrast checker → · Palette generator →

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