#8A72FC#8A72FC

#8A72FC is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.3% C 0.197 H 287.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A72FC
RGBrgb(138, 114, 252)
HSLhsl(250, 96%, 72%)
HSVhsv(250, 55%, 99%)
CMYKcmyk(45.2%, 54.8%, 0%, 1.2%)
CIE-LABlab(56.55, 42.44, -66.03)
CIE-LCHlch(56.55, 78.49, 302.73°)
OKLaboklab(64.29% 0.0593 -0.1882)
OKLCHoklch(64.29% 0.197 287.5)
XYZxyz(34.0642, 24.4648, 95.0039)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72FC #E4FC72
analogous
#729FFC #8A72FC #CF72FC
triadic
#8A72FC #FC8A72 #72FC8A
tetradic
#8A72FC #FC729F #E4FC72 #72FCCF
square
#8A72FC #FC729F #E4FC72 #72FCCF
split-complementary
#8A72FC #FCCF72 #9FFC72
monochromatic
#2E05EF #5836FB #8A72FC #BCAEFD #E6E1FE

Accessibility & contrast

On white

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

On black

5.89
#8A72FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72FC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72FC#FFFFFF#000000##000000
##8A72FC1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#2284F9
Tritanopia (blue-blind)
#6690AC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a72fc;
/* rgb */ color: rgb(138, 114, 252);
/* oklch */ color: oklch(64.3% 0.197 287.5);
Tailwind
colors: {
  custom: {
    50: '#b39bfe',
    500: '#8a72fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a72fc;
$custom-light: #b39bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72fc",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 250.435,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64291,
    "c": 0.19736,
    "h": 287.5
  },
  "luminance": 0.24466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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