#8D7ABC#8D7ABC

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

Color values

HEX#8D7ABC
RGBrgb(141, 122, 188)
HSLhsl(257, 33%, 61%)
HSVhsv(257, 35%, 74%)
CMYKcmyk(25%, 35.1%, 0%, 26.3%)
CIE-LABlab(55.29, 21.47, -32.03)
CIE-LCHlch(55.29, 38.56, 303.84°)
OKLaboklab(62.3% 0.0446 -0.0889)
OKLCHoklch(62.3% 0.099 296.6)
XYZxyz(27.0190, 23.2124, 50.6242)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7ABC #A9BC7A
analogous
#7A88BC #8D7ABC #AE7ABC
triadic
#8D7ABC #BC8D7A #7ABC8D
tetradic
#8D7ABC #BC7A88 #A9BC7A #7ABCAE
square
#8D7ABC #BC7A88 #A9BC7A #7ABCAE
split-complementary
#8D7ABC #BCAE7A #88BC7A
monochromatic
#513F7D #6B53A5 #8D7ABC #B0A3D1 #D3CBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7ABC#FFFFFF#000000##000000
##8D7ABC1.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)
#6985BF
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#848592
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d7abc;
/* rgb */ color: rgb(141, 122, 188);
/* oklch */ color: oklch(62.3% 0.099 296.6);
Tailwind
colors: {
  custom: {
    50: '#afa0d0',
    500: '#8d7abc',
    950: '#000000',
  },
}
SCSS
$custom: #8d7abc;
$custom-light: #afa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7abc",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 257.273,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62299,
    "c": 0.09946,
    "h": 296.6
  },
  "luminance": 0.23213
}

Semantic roles & 50–950 ramp

primary
#8D7ABC
secondary
#CED5BC
accent
#AC3A8B
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8D7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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