#8A6CF4#8A6CF4

#8A6CF4 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.195 H 289.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A6CF4
RGBrgb(138, 108, 244)
HSLhsl(253, 86%, 69%)
HSVhsv(253, 56%, 96%)
CMYKcmyk(43.4%, 55.7%, 0%, 4.3%)
CIE-LABlab(54.72, 43.62, -64.54)
CIE-LCHlch(54.72, 77.90, 304.05°)
OKLaboklab(62.78% 0.066 -0.1839)
OKLCHoklch(62.78% 0.195 289.7)
XYZxyz(32.1683, 22.6589, 88.2491)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CF4 #D6F46C
analogous
#6C92F4 #8A6CF4 #CE6CF4
triadic
#8A6CF4 #F48A6C #6CF48A
tetradic
#8A6CF4 #F46C92 #D6F46C #6CF4CE
square
#8A6CF4 #F46C92 #D6F46C #6CF4CE
split-complementary
#8A6CF4 #F4CE6C #92F46C
monochromatic
#3C10D6 #5D33F0 #8A6CF4 #B7A5F8 #E5DEFD

Accessibility & contrast

On white

3.80
#8A6CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A6CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CF4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CF4#FFFFFF#000000##000000
##8A6CF41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86F9
Deuteranopia (green-blind)
#2280F1
Tritanopia (blue-blind)
#6B8AA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6cf4;
/* rgb */ color: rgb(138, 108, 244);
/* oklch */ color: oklch(62.8% 0.195 289.7);
Tailwind
colors: {
  custom: {
    50: '#b297f8',
    500: '#8a6cf4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cf4;
$custom-light: #b297f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cf4",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 253.235,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62777,
    "c": 0.19536,
    "h": 289.7
  },
  "luminance": 0.2266
}

Semantic roles & 50–950 ramp

primary
#8A6CF4
secondary
#E9F2CA
accent
#E303B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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