#8A72CD#8A72CD

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

Color values

HEX#8A72CD
RGBrgb(138, 114, 205)
HSLhsl(256, 48%, 63%)
HSVhsv(256, 44%, 80%)
CMYKcmyk(32.7%, 44.4%, 0%, 19.6%)
CIE-LABlab(53.86, 29.63, -43.98)
CIE-LCHlch(53.86, 53.03, 303.97°)
OKLaboklab(61.42% 0.0555 -0.1236)
OKLCHoklch(61.42% 0.136 294.2)
XYZxyz(27.5152, 21.8452, 60.5127)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72CD #B5CD72
analogous
#7288CD #8A72CD #B772CD
triadic
#8A72CD #CD8A72 #72CD8A
tetradic
#8A72CD #CD7288 #B5CD72 #72CDB7
square
#8A72CD #CD7288 #B5CD72 #72CDB7
split-complementary
#8A72CD #CDB772 #88CD72
monochromatic
#4C3391 #6545BD #8A72CD #AF9FDD #D5CCED

Accessibility & contrast

On white

3.91
#8A72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72CD#FFFFFF#000000##000000
##8A72CD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#7B8396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a72cd;
/* rgb */ color: rgb(138, 114, 205);
/* oklch */ color: oklch(61.4% 0.136 294.2);
Tailwind
colors: {
  custom: {
    50: '#af9bdd',
    500: '#8a72cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a72cd;
$custom-light: #af9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72cd",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 255.824,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.13551,
    "h": 294.2
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

primary
#8A72CD
secondary
#D5DEBD
accent
#BB2B95
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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