#8D6EA2#8D6EA2

#8D6EA2 is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.8% C 0.085 H 311.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D6EA2
RGBrgb(141, 110, 162)
HSLhsl(276, 22%, 53%)
HSVhsv(276, 32%, 64%)
CMYKcmyk(13%, 32.1%, 0%, 36.5%)
CIE-LABlab(51.18, 22.38, -23.37)
CIE-LCHlch(51.18, 32.36, 313.76°)
OKLaboklab(58.8% 0.0559 -0.0641)
OKLCHoklch(58.8% 0.085 311.1)
XYZxyz(23.0809, 19.4235, 36.7086)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6EA2 #83A26E
analogous
#736EA2 #8D6EA2 #A26E9D
triadic
#8D6EA2 #A28D6E #6EA28D
tetradic
#8D6EA2 #A2736E #83A26E #6E9DA2
square
#8D6EA2 #A2736E #83A26E #6E9DA2
split-complementary
#8D6EA2 #9DA26E #6EA273
monochromatic
#4E3A5B #6E5280 #8D6EA2 #AA93BA #C8B9D2

Accessibility & contrast

On white

4.30
#8D6EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D6EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6EA2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6EA2#FFFFFF#000000##000000
##8D6EA21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#6C7BA0
Tritanopia (blue-blind)
#8B7581
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d6ea2;
/* rgb */ color: rgb(141, 110, 162);
/* oklch */ color: oklch(58.8% 0.085 311.1);
Tailwind
colors: {
  custom: {
    50: '#af98bd',
    500: '#8d6ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8d6ea2;
$custom-light: #af98bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6ea2",
  "rgb": {
    "r": 141,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 275.769,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.08506,
    "h": 311.1
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#8D6EA2
secondary
#B4C1AB
accent
#BE698C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8D6EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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