#8A6AF8#8A6AF8

#8A6AF8 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 62.7% C 0.203 H 289.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF8
RGBrgb(138, 106, 248)
HSLhsl(254, 91%, 69%)
HSVhsv(254, 57%, 97%)
CMYKcmyk(44.4%, 57.3%, 0%, 2.7%)
CIE-LABlab(54.54, 45.85, -67.05)
CIE-LCHlch(54.54, 81.23, 304.36°)
OKLaboklab(62.73% 0.0682 -0.1913)
OKLCHoklch(62.73% 0.203 289.6)
XYZxyz(32.5738, 22.4875, 91.4130)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF8 #D8F86A
analogous
#6A91F8 #8A6AF8 #D16AF8
triadic
#8A6AF8 #F88A6A #6AF88A
tetradic
#8A6AF8 #F86A91 #D8F86A #6AF8D1
square
#8A6AF8 #F86A91 #D8F86A #6AF8D1
split-complementary
#8A6AF8 #F8D16A #91F86A
monochromatic
#3A0ADD #5C30F5 #8A6AF8 #B8A4FB #E6DFFD

Accessibility & contrast

On white

3.82
#8A6AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF8#FFFFFF#000000##000000
##8A6AF81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#0B7FF5
Tritanopia (blue-blind)
#698AA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6af8;
/* rgb */ color: rgb(138, 106, 248);
/* oklch */ color: oklch(62.7% 0.203 289.6);
Tailwind
colors: {
  custom: {
    50: '#b396fb',
    500: '#8a6af8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af8;
$custom-light: #b396fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af8",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 253.521,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.20306,
    "h": 289.6
  },
  "luminance": 0.22489
}

Semantic roles & 50–950 ramp

primary
#8A6AF8
secondary
#EAF3CA
accent
#E600B2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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