#8A6AF2#8A6AF2

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

Color values

HEX#8A6AF2
RGBrgb(138, 106, 242)
HSLhsl(254, 84%, 68%)
HSVhsv(254, 56%, 95%)
CMYKcmyk(43%, 56.2%, 0%, 5.1%)
CIE-LABlab(54.16, 44.20, -64.34)
CIE-LCHlch(54.16, 78.06, 304.49°)
OKLaboklab(62.32% 0.0682 -0.1833)
OKLCHoklch(62.32% 0.196 290.4)
XYZxyz(31.6578, 22.1211, 86.5890)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AF2 #D2F26A
analogous
#6A8EF2 #8A6AF2 #CE6AF2
triadic
#8A6AF2 #F28A6A #6AF28A
tetradic
#8A6AF2 #F26A8E #D2F26A #6AF2CE
square
#8A6AF2 #F26A8E #D2F26A #6AF2CE
split-complementary
#8A6AF2 #F2CE6A #8EF26A
monochromatic
#3F12CF #5E32ED #8A6AF2 #B6A2F7 #E2DBFC

Accessibility & contrast

On white

3.87
#8A6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8A6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AF2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AF2#FFFFFF#000000##000000
##8A6AF21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#217EEF
Tritanopia (blue-blind)
#6C88A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a6af2;
/* rgb */ color: rgb(138, 106, 242);
/* oklch */ color: oklch(62.3% 0.196 290.4);
Tailwind
colors: {
  custom: {
    50: '#b295f7',
    500: '#8a6af2',
    950: '#000000',
  },
}
SCSS
$custom: #8a6af2;
$custom-light: #b295f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6af2",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 254.118,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6232,
    "c": 0.19557,
    "h": 290.4
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#8A6AF2
secondary
#E7F1C7
accent
#E005AD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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