#8A6EDC#8A6EDC

#8A6EDC is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.6% C 0.162 H 292.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A6EDC
RGBrgb(138, 110, 220)
HSLhsl(255, 61%, 65%)
HSVhsv(255, 50%, 86%)
CMYKcmyk(37.3%, 50%, 0%, 13.7%)
CIE-LABlab(53.73, 35.94, -52.69)
CIE-LCHlch(53.73, 63.77, 304.30°)
OKLaboklab(61.58% 0.0625 -0.1491)
OKLCHoklch(61.58% 0.162 292.8)
XYZxyz(28.9720, 21.7218, 70.3625)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EDC #C0DC6E
analogous
#6E89DC #8A6EDC #C16EDC
triadic
#8A6EDC #DC8A6E #6EDC8A
tetradic
#8A6EDC #DC6E89 #C0DC6E #6EDCC1
square
#8A6EDC #DC6E89 #C0DC6E #6EDCC1
split-complementary
#8A6EDC #DCC16E #89DC6E
monochromatic
#4928A7 #623DD0 #8A6EDC #B29FE8 #DAD1F4

Accessibility & contrast

On white

3.93
#8A6EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A6EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EDC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EDC#FFFFFF#000000##000000
##8A6EDC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#75849B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6edc;
/* rgb */ color: rgb(138, 110, 220);
/* oklch */ color: oklch(61.6% 0.162 292.8);
Tailwind
colors: {
  custom: {
    50: '#b098e7',
    500: '#8a6edc',
    950: '#000000',
  },
}
SCSS
$custom: #8a6edc;
$custom-light: #b098e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6edc",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 220
  },
  "hsl": {
    "h": 255.273,
    "s": 61.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.16164,
    "h": 292.8
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#8A6EDC
secondary
#DCE6C0
accent
#C91D9D
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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