#8A6CEF#8A6CEF

#8A6CEF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.189 H 290.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A6CEF
RGBrgb(138, 108, 239)
HSLhsl(254, 80%, 68%)
HSVhsv(254, 55%, 94%)
CMYKcmyk(42.3%, 54.8%, 0%, 6.3%)
CIE-LABlab(54.41, 42.24, -62.26)
CIE-LCHlch(54.41, 75.24, 304.16°)
OKLaboklab(62.44% 0.0659 -0.1772)
OKLCHoklch(62.44% 0.189 290.4)
XYZxyz(31.4195, 22.3594, 84.3050)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6CEF #D1EF6C
analogous
#6C90EF #8A6CEF #CB6CEF
triadic
#8A6CEF #EF8A6C #6CEF8A
tetradic
#8A6CEF #EF6C90 #D1EF6C #6CEFCB
square
#8A6CEF #EF6C90 #D1EF6C #6CEFCB
split-complementary
#8A6CEF #EFCB6C #90EF6C
monochromatic
#3F16CB #5E35E9 #8A6CEF #B6A3F5 #E2DAFB

Accessibility & contrast

On white

3.84
#8A6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6CEF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6CEF#FFFFFF#000000##000000
##8A6CEF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F3
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#6D88A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6cef;
/* rgb */ color: rgb(138, 108, 239);
/* oklch */ color: oklch(62.4% 0.189 290.4);
Tailwind
colors: {
  custom: {
    50: '#b297f5',
    500: '#8a6cef',
    950: '#000000',
  },
}
SCSS
$custom: #8a6cef;
$custom-light: #b297f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6cef",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 253.74,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62445,
    "c": 0.18904,
    "h": 290.4
  },
  "luminance": 0.2236
}

Semantic roles & 50–950 ramp

primary
#8A6CEF
secondary
#E6EFC7
accent
#DD09AC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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