#8A6EF7#8A6EF7

#8A6EF7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.196 H 288.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF7
RGBrgb(138, 110, 247)
HSLhsl(252, 90%, 70%)
HSVhsv(252, 55%, 97%)
CMYKcmyk(44.1%, 55.5%, 0%, 3.1%)
CIE-LABlab(55.35, 43.32, -65.19)
CIE-LCHlch(55.35, 78.27, 303.60°)
OKLaboklab(63.3% 0.0637 -0.1858)
OKLCHoklch(63.3% 0.196 288.9)
XYZxyz(32.8409, 23.2693, 90.7387)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF7 #DBF76E
analogous
#6E96F7 #8A6EF7 #CF6EF7
triadic
#8A6EF7 #F78A6E #6EF78A
tetradic
#8A6EF7 #F76E96 #DBF76E #6EF7CF
square
#8A6EF7 #F76E96 #DBF76E #6EF7CF
split-complementary
#8A6EF7 #F7CF6E #96F76E
monochromatic
#370CDE #5B34F4 #8A6EF7 #B9A8FA #E8E2FD

Accessibility & contrast

On white

3.71
#8A6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF7#FFFFFF#000000##000000
##8A6EF71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FC
Deuteranopia (green-blind)
#2181F4
Tritanopia (blue-blind)
#698CA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ef7;
/* rgb */ color: rgb(138, 110, 247);
/* oklch */ color: oklch(63.3% 0.196 288.9);
Tailwind
colors: {
  custom: {
    50: '#b298fb',
    500: '#8a6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef7;
$custom-light: #b298fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef7",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 252.263,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.19642,
    "h": 288.9
  },
  "luminance": 0.23271
}

Semantic roles & 50–950 ramp

primary
#8A6EF7
secondary
#ECF4CD
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8A6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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