#8D7ACA#8D7ACA

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

Color values

HEX#8D7ACA
RGBrgb(141, 122, 202)
HSLhsl(254, 43%, 64%)
HSVhsv(254, 40%, 79%)
CMYKcmyk(30.2%, 39.6%, 0%, 20.8%)
CIE-LABlab(55.93, 25.00, -38.99)
CIE-LCHlch(55.93, 46.32, 302.67°)
OKLaboklab(63% 0.0477 -0.109)
OKLCHoklch(63% 0.119 293.6)
XYZxyz(28.6021, 23.8456, 58.9614)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7ACA #B7CA7A
analogous
#7A8FCA #8D7ACA #B57ACA
triadic
#8D7ACA #CA8D7A #7ACA8D
tetradic
#8D7ACA #CA7A8F #B7CA7A #7ACAB5
square
#8D7ACA #CA7A8F #B7CA7A #7ACAB5
split-complementary
#8D7ACA #CAB57A #8FCA7A
monochromatic
#4E3990 #674EB9 #8D7ACA #B3A6DB #D8D2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7ACA#FFFFFF#000000##000000
##8D7ACA1.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)
#6387CD
Deuteranopia (green-blind)
#6585C8
Tritanopia (blue-blind)
#7F8898
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d7aca;
/* rgb */ color: rgb(141, 122, 202);
/* oklch */ color: oklch(63.0% 0.119 293.6);
Tailwind
colors: {
  custom: {
    50: '#b0a0da',
    500: '#8d7aca',
    950: '#000000',
  },
}
SCSS
$custom: #8d7aca;
$custom-light: #b0a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7aca",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 254.25,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63,
    "c": 0.119,
    "h": 293.6
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#8D7ACA
secondary
#D7DEC2
accent
#B62F96
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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