#8A6EB8#8A6EB8

#8A6EB8 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.6% C 0.113 H 300.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A6EB8
RGBrgb(138, 110, 184)
HSLhsl(263, 34%, 58%)
HSVhsv(263, 40%, 72%)
CMYKcmyk(25%, 40.2%, 0%, 27.8%)
CIE-LABlab(51.85, 26.62, -35.12)
CIE-LCHlch(51.85, 44.07, 307.17°)
OKLaboklab(59.56% 0.0575 -0.0979)
OKLCHoklch(59.56% 0.113 300.4)
XYZxyz(24.7070, 20.0157, 47.8999)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EB8 #9CB86E
analogous
#6E77B8 #8A6EB8 #AF6EB8
triadic
#8A6EB8 #B88A6E #6EB88A
tetradic
#8A6EB8 #B86E77 #9CB86E #6EB8AF
square
#8A6EB8 #B86E77 #9CB86E #6EB8AF
split-complementary
#8A6EB8 #B8AF6E #77B86E
monochromatic
#4F3873 #6B4D9C #8A6EB8 #AB97CC #CCC0E0

Accessibility & contrast

On white

4.20
#8A6EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A6EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EB8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EB8#FFFFFF#000000##000000
##8A6EB81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#617BB6
Tritanopia (blue-blind)
#827A8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a6eb8;
/* rgb */ color: rgb(138, 110, 184);
/* oklch */ color: oklch(59.6% 0.113 300.4);
Tailwind
colors: {
  custom: {
    50: '#ad98cd',
    500: '#8a6eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eb8;
$custom-light: #ad98cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eb8",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 262.703,
    "s": 34.259,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.11348,
    "h": 300.4
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#8A6EB8
secondary
#C5D0B2
accent
#CA5DA1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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