#8A7ACA#8A7ACA

#8A7ACA is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.7% C 0.119 H 291.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A7ACA
RGBrgb(138, 122, 202)
HSLhsl(252, 43%, 64%)
HSVhsv(252, 40%, 79%)
CMYKcmyk(31.7%, 39.6%, 0%, 20.8%)
CIE-LABlab(55.67, 24.16, -39.42)
CIE-LCHlch(55.67, 46.24, 301.50°)
OKLaboklab(62.74% 0.0441 -0.1103)
OKLCHoklch(62.74% 0.119 291.8)
XYZxyz(28.0987, 23.5861, 58.9378)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ACA #BACA7A
analogous
#7A92CA #8A7ACA #B27ACA
triadic
#8A7ACA #CA8A7A #7ACA8A
tetradic
#8A7ACA #CA7A92 #BACA7A #7ACAB2
square
#8A7ACA #CA7A92 #BACA7A #7ACAB2
split-complementary
#8A7ACA #CAB27A #92CA7A
monochromatic
#4B3990 #644EB9 #8A7ACA #B0A6DB #D7D2ED

Accessibility & contrast

On white

3.67
#8A7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ACA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ACA#FFFFFF#000000##000000
##8A7ACA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#7B8998
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7aca;
/* rgb */ color: rgb(138, 122, 202);
/* oklch */ color: oklch(62.7% 0.119 291.8);
Tailwind
colors: {
  custom: {
    50: '#aea0da',
    500: '#8a7aca',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aca;
$custom-light: #aea0da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aca",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 252,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62737,
    "c": 0.11884,
    "h": 291.8
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#8A7ACA
secondary
#D8DEC2
accent
#B62F9B
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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