#8A72F7#8A72F7

#8A72F7 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.191 H 288.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A72F7
RGBrgb(138, 114, 247)
HSLhsl(251, 89%, 71%)
HSVhsv(251, 54%, 97%)
CMYKcmyk(44.1%, 53.8%, 0%, 3.1%)
CIE-LABlab(56.24, 41.04, -63.76)
CIE-LCHlch(56.24, 75.83, 302.77°)
OKLaboklab(63.96% 0.0592 -0.1816)
OKLCHoklch(63.96% 0.191 288.1)
XYZxyz(33.2823, 24.1520, 90.8858)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F7 #DFF772
analogous
#729CF7 #8A72F7 #CC72F7
triadic
#8A72F7 #F78A72 #72F78A
tetradic
#8A72F7 #F7729C #DFF772 #72F7CC
square
#8A72F7 #F7729C #DFF772 #72F7CC
split-complementary
#8A72F7 #F7CC72 #9CF772
monochromatic
#330DE2 #5A38F4 #8A72F7 #BAACFA #E7E2FD

Accessibility & contrast

On white

3.60
#8A72F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8A72F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F7#FFFFFF#000000##000000
##8A72F71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#2D83F4
Tritanopia (blue-blind)
#698FAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a72f7;
/* rgb */ color: rgb(138, 114, 247);
/* oklch */ color: oklch(64.0% 0.191 288.1);
Tailwind
colors: {
  custom: {
    50: '#b29bfb',
    500: '#8a72f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f7;
$custom-light: #b29bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f7",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 250.827,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.19097,
    "h": 288.1
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#8A72F7
secondary
#EEF4D1
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F7

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

Preview Lab → · Contrast checker → · Palette generator →

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