#8A6BFE#8A6BFE

#8A6BFE is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.3% C 0.209 H 288.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A6BFE
RGBrgb(138, 107, 254)
HSLhsl(253, 99%, 71%)
HSVhsv(253, 58%, 100%)
CMYKcmyk(45.7%, 57.9%, 0%, 0.4%)
CIE-LABlab(55.15, 46.95, -69.40)
CIE-LCHlch(55.15, 83.79, 304.08°)
OKLaboklab(63.3% 0.067 -0.1982)
OKLCHoklch(63.3% 0.209 288.7)
XYZxyz(33.6232, 23.0731, 96.4287)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BFE #DFFE6B
analogous
#6B95FE #8A6BFE #D36BFE
triadic
#8A6BFE #FE8A6B #6BFE8A
tetradic
#8A6BFE #FE6B95 #DFFE6B #6BFED3
square
#8A6BFE #FE6B95 #DFFE6B #6BFED3
split-complementary
#8A6BFE #FED36B #95FE6B
monochromatic
#3302ED #5A2EFE #8A6BFE #BAA8FE #E7E1FF

Accessibility & contrast

On white

3.74
#8A6BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A6BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BFE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BFE#FFFFFF#000000##000000
##8A6BFE1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#658CAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6bfe;
/* rgb */ color: rgb(138, 107, 254);
/* oklch */ color: oklch(63.3% 0.209 288.7);
Tailwind
colors: {
  custom: {
    50: '#b396ff',
    500: '#8a6bfe',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bfe;
$custom-light: #b396ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bfe",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 252.653,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63298,
    "c": 0.20917,
    "h": 288.7
  },
  "luminance": 0.23074
}

Semantic roles & 50–950 ramp

primary
#8A6BFE
secondary
#EEF6CF
accent
#E600B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A6BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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