#8A72FE#8A72FE

#8A72FE is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.4% C 0.200 H 287.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A72FE
RGBrgb(138, 114, 254)
HSLhsl(250, 99%, 72%)
HSVhsv(250, 55%, 100%)
CMYKcmyk(45.7%, 55.1%, 0%, 0.4%)
CIE-LABlab(56.68, 43.01, -66.93)
CIE-LCHlch(56.68, 79.55, 302.72°)
OKLaboklab(64.43% 0.0594 -0.1909)
OKLCHoklch(64.43% 0.2 287.3)
XYZxyz(34.3828, 24.5922, 96.6819)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72FE #E6FE72
analogous
#72A0FE #8A72FE #D072FE
triadic
#8A72FE #FE8A72 #72FE8A
tetradic
#8A72FE #FE72A0 #E6FE72 #72FED0
square
#8A72FE #FE72A0 #E6FE72 #72FED0
split-complementary
#8A72FE #FED072 #A0FE72
monochromatic
#2B02F4 #5835FE #8A72FE #BCAFFE #E6E1FF

Accessibility & contrast

On white

3.55
#8A72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72FE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72FE#FFFFFF#000000##000000
##8A72FE1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8BFF
Deuteranopia (green-blind)
#1D84FB
Tritanopia (blue-blind)
#6591AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a72fe;
/* rgb */ color: rgb(138, 114, 254);
/* oklch */ color: oklch(64.4% 0.200 287.3);
Tailwind
colors: {
  custom: {
    50: '#b39bff',
    500: '#8a72fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a72fe;
$custom-light: #b39bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72fe",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 250.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64425,
    "c": 0.1999,
    "h": 287.3
  },
  "luminance": 0.24594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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