#8A6FAF#8A6FAF

#8A6FAF is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.3% C 0.100 H 302.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A6FAF
RGBrgb(138, 111, 175)
HSLhsl(265, 29%, 56%)
HSVhsv(265, 37%, 69%)
CMYKcmyk(21.1%, 36.6%, 0%, 31.4%)
CIE-LABlab(51.69, 23.84, -30.17)
CIE-LCHlch(51.69, 38.46, 308.32°)
OKLaboklab(59.3% 0.0541 -0.0836)
OKLCHoklch(59.3% 0.1 302.9)
XYZxyz(23.9019, 19.8673, 43.1247)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FAF #94AF6F
analogous
#6F74AF #8A6FAF #AA6FAF
triadic
#8A6FAF #AF8A6F #6FAF8A
tetradic
#8A6FAF #AF6F74 #94AF6F #6FAFAA
square
#8A6FAF #AF6F74 #94AF6F #6FAFAA
split-complementary
#8A6FAF #AFAA6F #74AF6F
monochromatic
#4E3A69 #6B5091 #8A6FAF #AA96C5 #CABEDB

Accessibility & contrast

On white

4.22
#8A6FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A6FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FAF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FAF#FFFFFF#000000##000000
##8A6FAF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607BB1
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#847987
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6faf;
/* rgb */ color: rgb(138, 111, 175);
/* oklch */ color: oklch(59.3% 0.100 302.9);
Tailwind
colors: {
  custom: {
    50: '#ad98c7',
    500: '#8a6faf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6faf;
$custom-light: #ad98c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6faf",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 265.313,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.09956,
    "h": 302.9
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#8A6FAF
secondary
#BFCAB0
accent
#C5639C
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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