#8A6EF6#8A6EF6

#8A6EF6 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.195 H 289.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF6
RGBrgb(138, 110, 246)
HSLhsl(252, 88%, 70%)
HSVhsv(252, 55%, 96%)
CMYKcmyk(43.9%, 55.3%, 0%, 3.5%)
CIE-LABlab(55.29, 43.04, -64.74)
CIE-LCHlch(55.29, 77.74, 303.62°)
OKLaboklab(63.24% 0.0637 -0.1845)
OKLCHoklch(63.24% 0.195 289.1)
XYZxyz(32.6870, 23.2078, 89.9282)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF6 #DAF66E
analogous
#6E96F6 #8A6EF6 #CE6EF6
triadic
#8A6EF6 #F68A6E #6EF68A
tetradic
#8A6EF6 #F66E96 #DAF66E #6EF6CE
square
#8A6EF6 #F66E96 #DAF66E #6EF6CE
split-complementary
#8A6EF6 #F6CE6E #96F66E
monochromatic
#380EDC #5C34F2 #8A6EF6 #B8A8FA #E7E1FD

Accessibility & contrast

On white

3.72
#8A6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF6#FFFFFF#000000##000000
##8A6EF61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FB
Deuteranopia (green-blind)
#2481F3
Tritanopia (blue-blind)
#698CA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ef6;
/* rgb */ color: rgb(138, 110, 246);
/* oklch */ color: oklch(63.2% 0.195 289.1);
Tailwind
colors: {
  custom: {
    50: '#b298fa',
    500: '#8a6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef6;
$custom-light: #b298fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef6",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 252.353,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.19516,
    "h": 289.1
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#8A6EF6
secondary
#EBF3CD
accent
#E501B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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