#8A6AF4#8A6AF4

#8A6AF4 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.5% C 0.198 H 290.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF4
RGBrgb(138, 106, 244)
HSLhsl(254, 86%, 69%)
HSVhsv(254, 57%, 96%)
CMYKcmyk(43.4%, 56.6%, 0%, 4.3%)
CIE-LABlab(54.28, 44.75, -65.25)
CIE-LCHlch(54.28, 79.12, 304.44°)
OKLaboklab(62.46% 0.0682 -0.186)
OKLCHoklch(62.46% 0.198 290.1)
XYZxyz(31.9598, 22.2419, 88.1796)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF4 #D4F46A
analogous
#6A8FF4 #8A6AF4 #CF6AF4
triadic
#8A6AF4 #F48A6A #6AF48A
tetradic
#8A6AF4 #F46A8F #D4F46A #6AF4CF
square
#8A6AF4 #F46A8F #D4F46A #6AF4CF
split-complementary
#8A6AF4 #F4CF6A #8FF46A
monochromatic
#3D10D4 #5D31F0 #8A6AF4 #B7A3F8 #E4DCFC

Accessibility & contrast

On white

3.85
#8A6AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A6AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF4#FFFFFF#000000##000000
##8A6AF41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1084F9
Deuteranopia (green-blind)
#1B7FF1
Tritanopia (blue-blind)
#6B88A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6af4;
/* rgb */ color: rgb(138, 106, 244);
/* oklch */ color: oklch(62.5% 0.198 290.1);
Tailwind
colors: {
  custom: {
    50: '#b295f9',
    500: '#8a6af4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af4;
$custom-light: #b295f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af4",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 253.913,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62455,
    "c": 0.19808,
    "h": 290.1
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#8A6AF4
secondary
#E8F1C8
accent
#E303AF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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