#8A6EFF#8A6EFF

#8A6EFF is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 63.8% C 0.206 H 288.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A6EFF
RGBrgb(138, 110, 255)
HSLhsl(252, 100%, 72%)
HSVhsv(252, 57%, 100%)
CMYKcmyk(45.9%, 56.9%, 0%, 0%)
CIE-LABlab(55.86, 45.55, -68.80)
CIE-LCHlch(55.86, 82.51, 303.51°)
OKLaboklab(63.84% 0.0637 -0.1964)
OKLCHoklch(63.84% 0.206 288)
XYZxyz(34.1020, 23.7737, 97.3803)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EFF #E3FF6E
analogous
#6E9BFF #8A6EFF #D36EFF
triadic
#8A6EFF #FF8A6E #6EFF8A
tetradic
#8A6EFF #FF6E9B #E3FF6E #6EFFD3
square
#8A6EFF #FF6E9B #E3FF6E #6EFFD3
split-complementary
#8A6EFF #FFD36E #9BFF6E
monochromatic
#2F00F3 #5931FF #8A6EFF #BBABFF #E6E0FF

Accessibility & contrast

On white

3.65
#8A6EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A6EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EFF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EFF#FFFFFF#000000##000000
##8A6EFF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#0082FC
Tritanopia (blue-blind)
#648FAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a6eff;
/* rgb */ color: rgb(138, 110, 255);
/* oklch */ color: oklch(63.8% 0.206 288.0);
Tailwind
colors: {
  custom: {
    50: '#b398ff',
    500: '#8a6eff',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eff;
$custom-light: #b398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eff",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 251.586,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63843,
    "c": 0.20647,
    "h": 288
  },
  "luminance": 0.23775
}

Semantic roles & 50–950 ramp

primary
#8A6EFF
secondary
#F0F7D2
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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