#8A72CE#8A72CE

#8A72CE is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.5% C 0.137 H 294.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A72CE
RGBrgb(138, 114, 206)
HSLhsl(256, 48%, 63%)
HSVhsv(256, 45%, 81%)
CMYKcmyk(33%, 44.7%, 0%, 19.2%)
CIE-LABlab(53.91, 29.89, -44.47)
CIE-LCHlch(53.91, 53.58, 303.91°)
OKLaboklab(61.47% 0.0557 -0.125)
OKLCHoklch(61.47% 0.137 294)
XYZxyz(27.6363, 21.8936, 61.1504)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72CE #B6CE72
analogous
#7288CE #8A72CE #B872CE
triadic
#8A72CE #CE8A72 #72CE8A
tetradic
#8A72CE #CE7288 #B6CE72 #72CEB8
square
#8A72CE #CE7288 #B6CE72 #72CEB8
split-complementary
#8A72CE #CEB872 #88CE72
monochromatic
#4C3393 #6445BE #8A72CE #B09FDE #D5CDEE

Accessibility & contrast

On white

3.90
#8A72CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A72CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72CE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72CE#FFFFFF#000000##000000
##8A72CE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D1
Deuteranopia (green-blind)
#587FCC
Tritanopia (blue-blind)
#7A8396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a72ce;
/* rgb */ color: rgb(138, 114, 206);
/* oklch */ color: oklch(61.5% 0.137 294.0);
Tailwind
colors: {
  custom: {
    50: '#af9bdd',
    500: '#8a72ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ce;
$custom-light: #af9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ce",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 255.652,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61472,
    "c": 0.13686,
    "h": 294
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#8A72CE
secondary
#D6DFBD
accent
#BC2A96
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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