#8A6FC0#8A6FC0

#8A6FC0 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.2% C 0.123 H 298.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A6FC0
RGBrgb(138, 111, 192)
HSLhsl(260, 39%, 59%)
HSVhsv(260, 42%, 75%)
CMYKcmyk(28.1%, 42.2%, 0%, 24.7%)
CIE-LABlab(52.48, 28.04, -38.73)
CIE-LCHlch(52.48, 47.82, 305.90°)
OKLaboklab(60.16% 0.0576 -0.1083)
OKLCHoklch(60.16% 0.123 298)
XYZxyz(25.6779, 20.5777, 52.4780)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FC0 #A5C06F
analogous
#6F7DC0 #8A6FC0 #B36FC0
triadic
#8A6FC0 #C08A6F #6FC08A
tetradic
#8A6FC0 #C06F7D #A5C06F #6FC0B3
square
#8A6FC0 #C06F7D #A5C06F #6FC0B3
split-complementary
#8A6FC0 #C0B36F #7DC06F
monochromatic
#4F377E #694AA8 #8A6FC0 #AD9AD3 #CFC4E5

Accessibility & contrast

On white

4.11
#8A6FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A6FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FC0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FC0#FFFFFF#000000##000000
##8A6FC01.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC3
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#7F7D8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a6fc0;
/* rgb */ color: rgb(138, 111, 192);
/* oklch */ color: oklch(60.2% 0.123 298.0);
Tailwind
colors: {
  custom: {
    50: '#ae98d3',
    500: '#8a6fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fc0;
$custom-light: #ae98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fc0",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 260,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.12267,
    "h": 298
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#8A6FC0
secondary
#CBD5B6
accent
#CF59A8
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A6FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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