#8A6DEF#8A6DEF

#8A6DEF is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.188 H 290.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A6DEF
RGBrgb(138, 109, 239)
HSLhsl(253, 80%, 68%)
HSVhsv(253, 54%, 94%)
CMYKcmyk(42.3%, 54.4%, 0%, 6.3%)
CIE-LABlab(54.63, 41.68, -61.90)
CIE-LCHlch(54.63, 74.63, 303.95°)
OKLaboklab(62.61% 0.0648 -0.1761)
OKLCHoklch(62.61% 0.188 290.2)
XYZxyz(31.5255, 22.5715, 84.3403)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DEF #D2EF6D
analogous
#6D91EF #8A6DEF #CB6DEF
triadic
#8A6DEF #EF8A6D #6DEF8A
tetradic
#8A6DEF #EF6D91 #D2EF6D #6DEFCB
square
#8A6DEF #EF6D91 #D2EF6D #6DEFCB
split-complementary
#8A6DEF #EFCB6D #91EF6D
monochromatic
#3F16CB #5E36E9 #8A6DEF #B6A4F5 #E2DBFB

Accessibility & contrast

On white

3.81
#8A6DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A6DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6DEF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6DEF#FFFFFF#000000##000000
##8A6DEF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#2F80EC
Tritanopia (blue-blind)
#6D89A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6def;
/* rgb */ color: rgb(138, 109, 239);
/* oklch */ color: oklch(62.6% 0.188 290.2);
Tailwind
colors: {
  custom: {
    50: '#b297f5',
    500: '#8a6def',
    950: '#000000',
  },
}
SCSS
$custom: #8a6def;
$custom-light: #b297f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6def",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 253.385,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6261,
    "c": 0.18765,
    "h": 290.2
  },
  "luminance": 0.22573
}

Semantic roles & 50–950 ramp

primary
#8A6DEF
secondary
#E7F0C8
accent
#DD09AD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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