#8A6FF0#8A6FF0

#8A6FF0 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.0% C 0.186 H 289.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF0
RGBrgb(138, 111, 240)
HSLhsl(253, 81%, 69%)
HSVhsv(253, 54%, 94%)
CMYKcmyk(42.5%, 53.8%, 0%, 5.9%)
CIE-LABlab(55.14, 40.81, -61.64)
CIE-LCHlch(55.14, 73.93, 303.51°)
OKLaboklab(63.01% 0.0625 -0.1754)
OKLCHoklch(63.01% 0.186 289.6)
XYZxyz(31.8895, 23.0623, 85.1924)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF0 #D5F06F
analogous
#6F95F0 #8A6FF0 #CB6FF0
triadic
#8A6FF0 #F08A6F #6FF08A
tetradic
#8A6FF0 #F06F95 #D5F06F #6FF0CB
square
#8A6FF0 #F06F95 #D5F06F #6FF0CB
split-complementary
#8A6FF0 #F0CB6F #95F06F
monochromatic
#3C16CF #5D38EA #8A6FF0 #B7A6F6 #E4DEFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6FF0#FFFFFF#000000##000000
##8A6FF01.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)
#2E87F4
Deuteranopia (green-blind)
#3281ED
Tritanopia (blue-blind)
#6C8BA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6ff0;
/* rgb */ color: rgb(138, 111, 240);
/* oklch */ color: oklch(63.0% 0.186 289.6);
Tailwind
colors: {
  custom: {
    50: '#b299f6',
    500: '#8a6ff0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff0;
$custom-light: #b299f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff0",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 252.558,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63006,
    "c": 0.18615,
    "h": 289.6
  },
  "luminance": 0.23063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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