#8A6EF8#8A6EF8

#8A6EF8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.4% C 0.198 H 288.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A6EF8
RGBrgb(138, 110, 248)
HSLhsl(252, 91%, 70%)
HSVhsv(252, 56%, 97%)
CMYKcmyk(44.4%, 55.6%, 0%, 2.7%)
CIE-LABlab(55.41, 43.60, -65.65)
CIE-LCHlch(55.41, 78.80, 303.59°)
OKLaboklab(63.37% 0.0638 -0.1871)
OKLCHoklch(63.37% 0.198 288.8)
XYZxyz(32.9956, 23.3312, 91.5536)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EF8 #DCF86E
analogous
#6E97F8 #8A6EF8 #CF6EF8
triadic
#8A6EF8 #F88A6E #6EF88A
tetradic
#8A6EF8 #F86E97 #DCF86E #6EF8CF
square
#8A6EF8 #F86E97 #DCF86E #6EF8CF
split-complementary
#8A6EF8 #F8CF6E #97F86E
monochromatic
#360BE1 #5B34F5 #8A6EF8 #B9A8FB #E7E2FE

Accessibility & contrast

On white

3.71
#8A6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A6EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EF8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EF8#FFFFFF#000000##000000
##8A6EF81.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A88FD
Deuteranopia (green-blind)
#1F81F5
Tritanopia (blue-blind)
#688CA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ef8;
/* rgb */ color: rgb(138, 110, 248);
/* oklch */ color: oklch(63.4% 0.198 288.8);
Tailwind
colors: {
  custom: {
    50: '#b398fb',
    500: '#8a6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ef8;
$custom-light: #b398fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ef8",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 252.174,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.19769,
    "h": 288.8
  },
  "luminance": 0.23332
}

Semantic roles & 50–950 ramp

primary
#8A6EF8
secondary
#ECF4CE
accent
#E600B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8A6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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