#8A6EA2#8A6EA2

#8A6EA2 is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.5% C 0.084 H 308.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA2
RGBrgb(138, 110, 162)
HSLhsl(272, 22%, 53%)
HSVhsv(272, 32%, 64%)
CMYKcmyk(14.8%, 32.1%, 0%, 36.5%)
CIE-LABlab(50.88, 21.39, -23.86)
CIE-LCHlch(50.88, 32.04, 311.87°)
OKLaboklab(58.5% 0.0523 -0.0655)
OKLCHoklch(58.5% 0.084 308.6)
XYZxyz(22.5776, 19.1640, 36.6850)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA2 #86A26E
analogous
#706EA2 #8A6EA2 #A26EA0
triadic
#8A6EA2 #A28A6E #6EA28A
tetradic
#8A6EA2 #A2706E #86A26E #6EA0A2
square
#8A6EA2 #A2706E #86A26E #6EA0A2
split-complementary
#8A6EA2 #A0A26E #6EA270
monochromatic
#4C3A5B #6B5280 #8A6EA2 #A893BA #C6B9D2

Accessibility & contrast

On white

4.35
#8A6EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A6EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA2#FFFFFF#000000##000000
##8A6EA21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#6A7AA0
Tritanopia (blue-blind)
#877581
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ea2;
/* rgb */ color: rgb(138, 110, 162);
/* oklch */ color: oklch(58.5% 0.084 308.6);
Tailwind
colors: {
  custom: {
    50: '#ad98bd',
    500: '#8a6ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea2;
$custom-light: #ad98bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea2",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 272.308,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.08382,
    "h": 308.6
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#8A6EA2
secondary
#B5C1AB
accent
#BE6991
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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