#8A6AF7#8A6AF7

#8A6AF7 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.7% C 0.202 H 289.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A6AF7
RGBrgb(138, 106, 247)
HSLhsl(254, 90%, 69%)
HSVhsv(254, 57%, 97%)
CMYKcmyk(44.1%, 57.1%, 0%, 3.1%)
CIE-LABlab(54.48, 45.57, -66.60)
CIE-LCHlch(54.48, 80.70, 304.38°)
OKLaboklab(62.66% 0.0682 -0.1899)
OKLCHoklch(62.66% 0.202 289.7)
XYZxyz(32.4190, 22.4256, 90.5981)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF7 #D7F76A
analogous
#6A91F7 #8A6AF7 #D16AF7
triadic
#8A6AF7 #F78A6A #6AF78A
tetradic
#8A6AF7 #F76A91 #D7F76A #6AF7D1
square
#8A6AF7 #F76A91 #D7F76A #6AF7D1
split-complementary
#8A6AF7 #F7D16A #91F76A
monochromatic
#3B0CDB #5C30F4 #8A6AF7 #B8A4FA #E5DEFD

Accessibility & contrast

On white

3.83
#8A6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF7#FFFFFF#000000##000000
##8A6AF71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#107FF4
Tritanopia (blue-blind)
#6989A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6af7;
/* rgb */ color: rgb(138, 106, 247);
/* oklch */ color: oklch(62.7% 0.202 289.7);
Tailwind
colors: {
  custom: {
    50: '#b396fb',
    500: '#8a6af7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af7;
$custom-light: #b396fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af7",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 253.617,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62658,
    "c": 0.20181,
    "h": 289.7
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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