#8A7AC2#8A7AC2

#8A7AC2 is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.3% C 0.108 H 293.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A7AC2
RGBrgb(138, 122, 194)
HSLhsl(253, 37%, 62%)
HSVhsv(253, 37%, 76%)
CMYKcmyk(28.9%, 37.1%, 0%, 23.9%)
CIE-LABlab(55.30, 22.09, -35.46)
CIE-LCHlch(55.30, 41.78, 301.92°)
OKLaboklab(62.33% 0.0424 -0.0989)
OKLCHoklch(62.33% 0.108 293.2)
XYZxyz(27.1760, 23.2170, 54.0780)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AC2 #B2C27A
analogous
#7A8EC2 #8A7AC2 #AE7AC2
triadic
#8A7AC2 #C28A7A #7AC28A
tetradic
#8A7AC2 #C27A8E #B2C27A #7AC2AE
square
#8A7AC2 #C27A8E #B2C27A #7AC2AE
split-complementary
#8A7AC2 #C2AE7A #8EC27A
monochromatic
#4D3D85 #6550AF #8A7AC2 #AFA4D5 #D4CEE8

Accessibility & contrast

On white

3.72
#8A7AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A7AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AC2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AC2#FFFFFF#000000##000000
##8A7AC21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6685C5
Deuteranopia (green-blind)
#6883C0
Tritanopia (blue-blind)
#7E8795
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7ac2;
/* rgb */ color: rgb(138, 122, 194);
/* oklch */ color: oklch(62.3% 0.108 293.2);
Tailwind
colors: {
  custom: {
    50: '#aea0d4',
    500: '#8a7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ac2;
$custom-light: #aea0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ac2",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 253.333,
    "s": 37.113,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62328,
    "c": 0.1076,
    "h": 293.2
  },
  "luminance": 0.23217
}

Semantic roles & 50–950 ramp

primary
#8A7AC2
secondary
#D3D9BF
accent
#B03595
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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