#8A6FC3#8A6FC3

#8A6FC3 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.3% C 0.127 H 297.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A6FC3
RGBrgb(138, 111, 195)
HSLhsl(259, 41%, 60%)
HSVhsv(259, 43%, 76%)
CMYKcmyk(29.2%, 43.1%, 0%, 23.5%)
CIE-LABlab(52.63, 28.80, -40.22)
CIE-LCHlch(52.63, 49.47, 305.61°)
OKLaboklab(60.32% 0.0581 -0.1126)
OKLCHoklch(60.32% 0.127 297.3)
XYZxyz(26.0136, 20.7120, 54.2465)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FC3 #A8C36F
analogous
#6F7EC3 #8A6FC3 #B46FC3
triadic
#8A6FC3 #C38A6F #6FC38A
tetradic
#8A6FC3 #C36F7E #A8C36F #6FC3B4
square
#8A6FC3 #C36F7E #A8C36F #6FC3B4
split-complementary
#8A6FC3 #C3B46F #7EC36F
monochromatic
#4E3682 #6848AD #8A6FC3 #AD9AD5 #D0C5E7

Accessibility & contrast

On white

4.08
#8A6FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A6FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FC3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FC3#FFFFFF#000000##000000
##8A6FC31.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC6
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#7E7E90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a6fc3;
/* rgb */ color: rgb(138, 111, 195);
/* oklch */ color: oklch(60.3% 0.127 297.3);
Tailwind
colors: {
  custom: {
    50: '#ae98d5',
    500: '#8a6fc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fc3;
$custom-light: #ae98d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fc3",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 195
  },
  "hsl": {
    "h": 259.286,
    "s": 41.176,
    "l": 60
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.12673,
    "h": 297.3
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#8A6FC3
secondary
#CDD7B7
accent
#D157AA
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8A6FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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