#8A72C8#8A72C8

#8A72C8 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.1% C 0.129 H 295.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A72C8
RGBrgb(138, 114, 200)
HSLhsl(257, 44%, 62%)
HSVhsv(257, 43%, 78%)
CMYKcmyk(31%, 43%, 0%, 21.6%)
CIE-LABlab(53.61, 28.33, -41.54)
CIE-LCHlch(53.61, 50.28, 304.30°)
OKLaboklab(61.14% 0.0548 -0.1165)
OKLCHoklch(61.14% 0.129 295.2)
XYZxyz(26.9213, 21.6076, 57.3847)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72C8 #B0C872
analogous
#7285C8 #8A72C8 #B572C8
triadic
#8A72C8 #C88A72 #72C88A
tetradic
#8A72C8 #C87285 #B0C872 #72C8B5
square
#8A72C8 #C87285 #B0C872 #72C8B5
split-complementary
#8A72C8 #C8B572 #85C872
monochromatic
#4D368A #6647B6 #8A72C8 #AF9ED9 #D3CAEA

Accessibility & contrast

On white

3.95
#8A72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72C8#FFFFFF#000000##000000
##8A72C81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#7C8293
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a72c8;
/* rgb */ color: rgb(138, 114, 200);
/* oklch */ color: oklch(61.1% 0.129 295.2);
Tailwind
colors: {
  custom: {
    50: '#ae9bd9',
    500: '#8a72c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a72c8;
$custom-light: #ae9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72c8",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 256.744,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.12871,
    "h": 295.2
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#8A72C8
secondary
#D2DBBB
accent
#B72E91
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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