#8A6EA8#8A6EA8

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

Color values

HEX#8A6EA8
RGBrgb(138, 110, 168)
HSLhsl(269, 25%, 55%)
HSVhsv(269, 35%, 66%)
CMYKcmyk(17.9%, 34.5%, 0%, 34.1%)
CIE-LABlab(51.13, 22.77, -26.97)
CIE-LCHlch(51.13, 35.30, 310.18°)
OKLaboklab(58.77% 0.0539 -0.0744)
OKLCHoklch(58.77% 0.092 305.9)
XYZxyz(23.1237, 19.3824, 39.5612)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA8 #8CA86E
analogous
#6E6FA8 #8A6EA8 #A76EA8
triadic
#8A6EA8 #A88A6E #6EA88A
tetradic
#8A6EA8 #A86E6F #8CA86E #6EA8A7
square
#8A6EA8 #A86E6F #8CA86E #6EA8A7
split-complementary
#8A6EA8 #A8A76E #6FA86E
monochromatic
#4D3A61 #6B5188 #8A6EA8 #A994BF #C8BBD6

Accessibility & contrast

On white

4.31
#8A6EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6EA8#FFFFFF#000000##000000
##8A6EA81.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6279AA
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#867783
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6ea8;
/* rgb */ color: rgb(138, 110, 168);
/* oklch */ color: oklch(58.8% 0.092 305.9);
Tailwind
colors: {
  custom: {
    50: '#ad98c2',
    500: '#8a6ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea8;
$custom-light: #ad98c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea8",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 268.966,
    "s": 25,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.09185,
    "h": 305.9
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#8A6EA8
secondary
#B9C5AD
accent
#C16695
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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