#8A6FEF#8A6FEF

#8A6FEF is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.9% C 0.185 H 289.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A6FEF
RGBrgb(138, 111, 239)
HSLhsl(253, 80%, 69%)
HSVhsv(253, 54%, 94%)
CMYKcmyk(42.3%, 53.6%, 0%, 6.3%)
CIE-LABlab(55.08, 40.54, -61.19)
CIE-LCHlch(55.08, 73.39, 303.52°)
OKLaboklab(62.94% 0.0624 -0.174)
OKLCHoklch(62.94% 0.185 289.7)
XYZxyz(31.7413, 23.0031, 84.4122)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FEF #D4EF6F
analogous
#6F94EF #8A6FEF #CA6FEF
triadic
#8A6FEF #EF8A6F #6FEF8A
tetradic
#8A6FEF #EF6F94 #D4EF6F #6FEFCA
square
#8A6FEF #EF6F94 #D4EF6F #6FEFCA
split-complementary
#8A6FEF #EFCA6F #94EF6F
monochromatic
#3D17CD #5D38E9 #8A6FEF #B7A6F5 #E4DDFB

Accessibility & contrast

On white

3.75
#8A6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FEF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FEF#FFFFFF#000000##000000
##8A6FEF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#6D8AA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6fef;
/* rgb */ color: rgb(138, 111, 239);
/* oklch */ color: oklch(62.9% 0.185 289.7);
Tailwind
colors: {
  custom: {
    50: '#b299f5',
    500: '#8a6fef',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fef;
$custom-light: #b299f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fef",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 252.656,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.18487,
    "h": 289.7
  },
  "luminance": 0.23004
}

Semantic roles & 50–950 ramp

primary
#8A6FEF
secondary
#E8F0CA
accent
#DC09B0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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