#8E72FA#8E72FA

#8E72FA is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.195 H 289.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8E72FA
RGBrgb(142, 114, 250)
HSLhsl(252, 93%, 71%)
HSVhsv(252, 54%, 98%)
CMYKcmyk(43.2%, 54.4%, 0%, 2%)
CIE-LABlab(56.77, 42.75, -64.55)
CIE-LCHlch(56.77, 77.42, 303.51°)
OKLaboklab(64.5% 0.0642 -0.1838)
OKLCHoklch(64.5% 0.195 289.3)
XYZxyz(34.4231, 24.6863, 93.3752)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E72FA #DEFA72
analogous
#729AFA #8E72FA #D272FA
triadic
#8E72FA #FA8E72 #72FA8E
tetradic
#8E72FA #FA729A #DEFA72 #72FAD2
square
#8E72FA #FA729A #DEFA72 #72FAD2
split-complementary
#8E72FA #FAD272 #9AFA72
monochromatic
#3708E9 #5F37F8 #8E72FA #BDADFC #E7E1FE

Accessibility & contrast

On white

3.54
#8E72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8E72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E72FA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E72FA#FFFFFF#000000##000000
##8E72FA1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#2D85F7
Tritanopia (blue-blind)
#6E8FAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e72fa;
/* rgb */ color: rgb(142, 114, 250);
/* oklch */ color: oklch(64.5% 0.195 289.3);
Tailwind
colors: {
  custom: {
    50: '#b59bfd',
    500: '#8e72fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e72fa;
$custom-light: #b59bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e72fa",
  "rgb": {
    "r": 142,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 252.353,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64496,
    "c": 0.19467,
    "h": 289.3
  },
  "luminance": 0.24688
}

Semantic roles & 50–950 ramp

primary
#8E72FA
secondary
#EEF6D2
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8E72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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