#8A6EA5#8A6EA5

#8A6EA5 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.6% C 0.088 H 307.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA5
RGBrgb(138, 110, 165)
HSLhsl(271, 23%, 54%)
HSVhsv(271, 33%, 65%)
CMYKcmyk(16.4%, 33.3%, 0%, 35.3%)
CIE-LABlab(51.00, 22.08, -25.42)
CIE-LCHlch(51.00, 33.67, 310.98°)
OKLaboklab(58.63% 0.0531 -0.07)
OKLCHoklch(58.63% 0.088 307.2)
XYZxyz(22.8474, 19.2719, 38.1062)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA5 #89A56E
analogous
#6F6EA5 #8A6EA5 #A56EA5
triadic
#8A6EA5 #A58A6E #6EA58A
tetradic
#8A6EA5 #A56F6E #89A56E #6EA5A5
square
#8A6EA5 #A56F6E #89A56E #6EA5A5
split-complementary
#8A6EA5 #A5A56E #6EA56F
monochromatic
#4D3A5E #6B5284 #8A6EA5 #A894BC #C7BAD4

Accessibility & contrast

On white

4.33
#8A6EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A6EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA5#FFFFFF#000000##000000
##8A6EA51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6378A7
Deuteranopia (green-blind)
#697AA3
Tritanopia (blue-blind)
#867682
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ea5;
/* rgb */ color: rgb(138, 110, 165);
/* oklch */ color: oklch(58.6% 0.088 307.2);
Tailwind
colors: {
  custom: {
    50: '#ad98c0',
    500: '#8a6ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea5;
$custom-light: #ad98c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea5",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 270.545,
    "s": 23.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.08783,
    "h": 307.2
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#8A6EA5
secondary
#B7C3AC
accent
#C06893
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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