#8A72F3#8A72F3

#8A72F3 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.186 H 288.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A72F3
RGBrgb(138, 114, 243)
HSLhsl(251, 84%, 70%)
HSVhsv(251, 53%, 95%)
CMYKcmyk(43.2%, 53.1%, 0%, 4.7%)
CIE-LABlab(56.00, 39.93, -61.93)
CIE-LCHlch(56.00, 73.69, 302.81°)
OKLaboklab(63.7% 0.0591 -0.1762)
OKLCHoklch(63.7% 0.186 288.5)
XYZxyz(32.6716, 23.9078, 87.6699)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F3 #DBF372
analogous
#729AF3 #8A72F3 #CB72F3
triadic
#8A72F3 #F38A72 #72F38A
tetradic
#8A72F3 #F3729A #DBF372 #72F3CB
square
#8A72F3 #F3729A #DBF372 #72F3CB
split-complementary
#8A72F3 #F3CB72 #9AF372
monochromatic
#3712D8 #5B3AEE #8A72F3 #B9AAF8 #E8E3FD

Accessibility & contrast

On white

3.63
#8A72F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8A72F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F3#FFFFFF#000000##000000
##8A72F31.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F7
Deuteranopia (green-blind)
#3483F0
Tritanopia (blue-blind)
#6B8EA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a72f3;
/* rgb */ color: rgb(138, 114, 243);
/* oklch */ color: oklch(63.7% 0.186 288.5);
Tailwind
colors: {
  custom: {
    50: '#b29bf8',
    500: '#8a72f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f3;
$custom-light: #b29bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f3",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 251.163,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.18584,
    "h": 288.5
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#8A72F3
secondary
#ECF2CE
accent
#E105B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F3

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

Preview Lab → · Contrast checker → · Palette generator →

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