#8A7ABC#8A7ABC

#8A7ABC is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.0% C 0.099 H 294.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A7ABC
RGBrgb(138, 122, 188)
HSLhsl(255, 33%, 61%)
HSVhsv(255, 35%, 74%)
CMYKcmyk(26.6%, 35.1%, 0%, 26.3%)
CIE-LABlab(55.02, 20.57, -32.46)
CIE-LCHlch(55.02, 38.43, 302.36°)
OKLaboklab(62.03% 0.0411 -0.0902)
OKLCHoklch(62.03% 0.099 294.5)
XYZxyz(26.5157, 22.9528, 50.6006)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ABC #ACBC7A
analogous
#7A8BBC #8A7ABC #AB7ABC
triadic
#8A7ABC #BC8A7A #7ABC8A
tetradic
#8A7ABC #BC7A8B #ACBC7A #7ABCAB
square
#8A7ABC #BC7A8B #ACBC7A #7ABCAB
split-complementary
#8A7ABC #BCAB7A #8BBC7A
monochromatic
#4E3F7D #6753A5 #8A7ABC #AEA3D1 #D2CBE5

Accessibility & contrast

On white

3.76
#8A7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ABC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ABC#FFFFFF#000000##000000
##8A7ABC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BF
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#808592
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a7abc;
/* rgb */ color: rgb(138, 122, 188);
/* oklch */ color: oklch(62.0% 0.099 294.5);
Tailwind
colors: {
  custom: {
    50: '#ada0d0',
    500: '#8a7abc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7abc;
$custom-light: #ada0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7abc",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 254.545,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62031,
    "c": 0.09912,
    "h": 294.5
  },
  "luminance": 0.22953
}

Semantic roles & 50–950 ramp

primary
#8A7ABC
secondary
#CFD5BC
accent
#AC3A90
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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