#8A7AC8#8A7AC8

#8A7AC8 is a light, moderate violet. Relative luminance 0.235; OKLCH L 62.6% C 0.116 H 292.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7AC8
RGBrgb(138, 122, 200)
HSLhsl(252, 41%, 63%)
HSVhsv(252, 39%, 78%)
CMYKcmyk(31%, 39%, 0%, 21.6%)
CIE-LABlab(55.58, 23.64, -38.44)
CIE-LCHlch(55.58, 45.12, 301.59°)
OKLaboklab(62.63% 0.0437 -0.1075)
OKLCHoklch(62.63% 0.116 292.1)
XYZxyz(27.8635, 23.4920, 57.6988)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AC8 #B8C87A
analogous
#7A91C8 #8A7AC8 #B17AC8
triadic
#8A7AC8 #C88A7A #7AC88A
tetradic
#8A7AC8 #C87A91 #B8C87A #7AC8B1
square
#8A7AC8 #C87A91 #B8C87A #7AC8B1
split-complementary
#8A7AC8 #C8B17A #91C87A
monochromatic
#4B3A8D #644FB6 #8A7AC8 #B0A5DA #D6D1EC

Accessibility & contrast

On white

3.69
#8A7AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A7AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AC8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AC8#FFFFFF#000000##000000
##8A7AC81.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#7C8897
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7ac8;
/* rgb */ color: rgb(138, 122, 200);
/* oklch */ color: oklch(62.6% 0.116 292.1);
Tailwind
colors: {
  custom: {
    50: '#aea0d9',
    500: '#8a7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ac8;
$custom-light: #aea0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ac8",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 252.308,
    "s": 41.489,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.11604,
    "h": 292.1
  },
  "luminance": 0.23492
}

Semantic roles & 50–950 ramp

primary
#8A7AC8
secondary
#D7DDC1
accent
#B5319A
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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