#8A6AF3#8A6AF3

#8A6AF3 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.4% C 0.197 H 290.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF3
RGBrgb(138, 106, 243)
HSLhsl(254, 85%, 68%)
HSVhsv(254, 56%, 95%)
CMYKcmyk(43.2%, 56.4%, 0%, 4.7%)
CIE-LABlab(54.22, 44.47, -64.79)
CIE-LCHlch(54.22, 78.59, 304.47°)
OKLaboklab(62.39% 0.0682 -0.1846)
OKLCHoklch(62.39% 0.197 290.3)
XYZxyz(31.8084, 22.1813, 87.3821)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF3 #D3F36A
analogous
#6A8EF3 #8A6AF3 #CF6AF3
triadic
#8A6AF3 #F38A6A #6AF38A
tetradic
#8A6AF3 #F36A8E #D3F36A #6AF3CF
square
#8A6AF3 #F36A8E #D3F36A #6AF3CF
split-complementary
#8A6AF3 #F3CF6A #8EF36A
monochromatic
#3E11D2 #5E31EE #8A6AF3 #B6A3F8 #E3DBFC

Accessibility & contrast

On white

3.86
#8A6AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A6AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF3#FFFFFF#000000##000000
##8A6AF31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F8
Deuteranopia (green-blind)
#1E7FF0
Tritanopia (blue-blind)
#6B88A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6af3;
/* rgb */ color: rgb(138, 106, 243);
/* oklch */ color: oklch(62.4% 0.197 290.3);
Tailwind
colors: {
  custom: {
    50: '#b295f8',
    500: '#8a6af3',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af3;
$custom-light: #b295f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af3",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 254.015,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.19682,
    "h": 290.3
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#8A6AF3
secondary
#E7F1C8
accent
#E204AE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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