#8A7ACF#8A7ACF

#8A7ACF is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.0% C 0.126 H 291.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A7ACF
RGBrgb(138, 122, 207)
HSLhsl(251, 47%, 65%)
HSVhsv(251, 41%, 81%)
CMYKcmyk(33.3%, 41.1%, 0%, 18.8%)
CIE-LABlab(55.91, 25.47, -41.88)
CIE-LCHlch(55.91, 49.01, 301.31°)
OKLaboklab(63% 0.0451 -0.1175)
OKLCHoklch(63% 0.126 291)
XYZxyz(28.7003, 23.8267, 62.1063)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ACF #BFCF7A
analogous
#7A95CF #8A7ACF #B57ACF
triadic
#8A7ACF #CF8A7A #7ACF8A
tetradic
#8A7ACF #CF7A95 #BFCF7A #7ACFB5
square
#8A7ACF #CF7A95 #BFCF7A #7ACFB5
split-complementary
#8A7ACF #CFB57A #95CF7A
monochromatic
#493798 #624DBF #8A7ACF #B2A7DF #D9D4EF

Accessibility & contrast

On white

3.64
#8A7ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A7ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ACF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ACF#FFFFFF#000000##000000
##8A7ACF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D2
Deuteranopia (green-blind)
#6184CD
Tritanopia (blue-blind)
#798A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7acf;
/* rgb */ color: rgb(138, 122, 207);
/* oklch */ color: oklch(63.0% 0.126 291.0);
Tailwind
colors: {
  custom: {
    50: '#aea0de',
    500: '#8a7acf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7acf;
$custom-light: #aea0de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7acf",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 251.294,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63001,
    "c": 0.12582,
    "h": 291
  },
  "luminance": 0.23827
}

Semantic roles & 50–950 ramp

primary
#8A7ACF
secondary
#DCE1C4
accent
#BA2B9F
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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