#8A72CC#8A72CC

#8A72CC is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.4% C 0.134 H 294.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A72CC
RGBrgb(138, 114, 204)
HSLhsl(256, 47%, 62%)
HSVhsv(256, 44%, 80%)
CMYKcmyk(32.4%, 44.1%, 0%, 20%)
CIE-LABlab(53.81, 29.37, -43.49)
CIE-LCHlch(53.81, 52.48, 304.03°)
OKLaboklab(61.36% 0.0554 -0.1222)
OKLCHoklch(61.36% 0.134 294.4)
XYZxyz(27.3949, 21.7971, 59.8790)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72CC #B4CC72
analogous
#7287CC #8A72CC #B772CC
triadic
#8A72CC #CC8A72 #72CC8A
tetradic
#8A72CC #CC7287 #B4CC72 #72CCB7
square
#8A72CC #CC7287 #B4CC72 #72CCB7
split-complementary
#8A72CC #CCB772 #87CC72
monochromatic
#4C3490 #6545BC #8A72CC #AF9FDC #D5CCED

Accessibility & contrast

On white

3.92
#8A72CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8A72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72CC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72CC#FFFFFF#000000##000000
##8A72CC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CF
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#7B8395
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a72cc;
/* rgb */ color: rgb(138, 114, 204);
/* oklch */ color: oklch(61.4% 0.134 294.4);
Tailwind
colors: {
  custom: {
    50: '#af9bdc',
    500: '#8a72cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a72cc;
$custom-light: #af9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72cc",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 256,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.13415,
    "h": 294.4
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#8A72CC
secondary
#D5DDBC
accent
#BA2B94
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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