#8A6DEB#8A6DEB

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

Color values

HEX#8A6DEB
RGBrgb(138, 109, 235)
HSLhsl(254, 76%, 67%)
HSVhsv(254, 54%, 92%)
CMYKcmyk(41.3%, 53.6%, 0%, 7.8%)
CIE-LABlab(54.38, 40.58, -60.06)
CIE-LCHlch(54.38, 72.49, 304.04°)
OKLaboklab(62.35% 0.0646 -0.1707)
OKLCHoklch(62.35% 0.183 290.7)
XYZxyz(30.9411, 22.3378, 81.2625)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DEB #CEEB6D
analogous
#6D8FEB #8A6DEB #C96DEB
triadic
#8A6DEB #EB8A6D #6DEB8A
tetradic
#8A6DEB #EB6D8F #CEEB6D #6DEBC9
square
#8A6DEB #EB6D8F #CEEB6D #6DEBC9
split-complementary
#8A6DEB #EBC96D #8FEB6D
monochromatic
#411BC3 #5F37E4 #8A6DEB #B5A3F2 #E0D9FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6DEB#FFFFFF#000000##000000
##8A6DEB1.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)
#3084EF
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#6F88A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a6deb;
/* rgb */ color: rgb(138, 109, 235);
/* oklch */ color: oklch(62.4% 0.183 290.7);
Tailwind
colors: {
  custom: {
    50: '#b197f2',
    500: '#8a6deb',
    950: '#000000',
  },
}
SCSS
$custom: #8a6deb;
$custom-light: #b197f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6deb",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 253.81,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.18254,
    "h": 290.7
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#8A6DEB
secondary
#E5EEC6
accent
#D80DA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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