#8A6AF1#8A6AF1

#8A6AF1 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.3% C 0.194 H 290.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF1
RGBrgb(138, 106, 241)
HSLhsl(254, 83%, 68%)
HSVhsv(254, 56%, 95%)
CMYKcmyk(42.7%, 56%, 0%, 5.5%)
CIE-LABlab(54.09, 43.92, -63.88)
CIE-LCHlch(54.09, 77.53, 304.51°)
OKLaboklab(62.25% 0.0682 -0.1819)
OKLCHoklch(62.25% 0.194 290.6)
XYZxyz(31.5080, 22.0612, 85.8001)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF1 #D1F16A
analogous
#6A8DF1 #8A6AF1 #CD6AF1
triadic
#8A6AF1 #F18A6A #6AF18A
tetradic
#8A6AF1 #F16A8D #D1F16A #6AF1CD
square
#8A6AF1 #F16A8D #D1F16A #6AF1CD
split-complementary
#8A6AF1 #F1CD6A #8DF16A
monochromatic
#3F13CD #5E32EC #8A6AF1 #B6A2F6 #E2DAFC

Accessibility & contrast

On white

3.88
#8A6AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A6AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF1#FFFFFF#000000##000000
##8A6AF11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F6
Deuteranopia (green-blind)
#237EEE
Tritanopia (blue-blind)
#6C87A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6af1;
/* rgb */ color: rgb(138, 106, 241);
/* oklch */ color: oklch(62.3% 0.194 290.6);
Tailwind
colors: {
  custom: {
    50: '#b295f6',
    500: '#8a6af1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af1;
$custom-light: #b295f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af1",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 254.222,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.19432,
    "h": 290.6
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#8A6AF1
secondary
#E6F0C7
accent
#DF06AC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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