#8A72CA#8A72CA

#8A72CA is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.131 H 294.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A72CA
RGBrgb(138, 114, 202)
HSLhsl(256, 45%, 62%)
HSVhsv(256, 44%, 79%)
CMYKcmyk(31.7%, 43.6%, 0%, 20.8%)
CIE-LABlab(53.71, 28.85, -42.52)
CIE-LCHlch(53.71, 51.38, 304.16°)
OKLaboklab(61.25% 0.0551 -0.1193)
OKLCHoklch(61.25% 0.131 294.8)
XYZxyz(27.1566, 21.7017, 58.6238)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72CA #B2CA72
analogous
#7286CA #8A72CA #B672CA
triadic
#8A72CA #CA8A72 #72CA8A
tetradic
#8A72CA #CA7286 #B2CA72 #72CAB6
square
#8A72CA #CA7286 #B2CA72 #72CAB6
split-complementary
#8A72CA #CAB672 #86CA72
monochromatic
#4D358D #6546B9 #8A72CA #AF9EDB #D4CBEB

Accessibility & contrast

On white

3.93
#8A72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72CA#FFFFFF#000000##000000
##8A72CA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#7C8294
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a72ca;
/* rgb */ color: rgb(138, 114, 202);
/* oklch */ color: oklch(61.3% 0.131 294.8);
Tailwind
colors: {
  custom: {
    50: '#ae9bda',
    500: '#8a72ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a72ca;
$custom-light: #ae9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72ca",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 256.364,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.13144,
    "h": 294.8
  },
  "luminance": 0.21702
}

Semantic roles & 50–950 ramp

primary
#8A72CA
secondary
#D3DCBC
accent
#B92D92
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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