#8A6FF9#8A6FF9

#8A6FF9 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.198 H 288.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF9
RGBrgb(138, 111, 249)
HSLhsl(252, 92%, 71%)
HSVhsv(252, 55%, 98%)
CMYKcmyk(44.6%, 55.4%, 0%, 2.4%)
CIE-LABlab(55.70, 43.31, -65.74)
CIE-LCHlch(55.70, 78.73, 303.37°)
OKLaboklab(63.6% 0.0626 -0.1874)
OKLCHoklch(63.6% 0.198 288.5)
XYZxyz(33.2597, 23.6104, 92.4090)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF9 #DEF96F
analogous
#6F99F9 #8A6FF9 #CF6FF9
triadic
#8A6FF9 #F98A6F #6FF98A
tetradic
#8A6FF9 #F96F99 #DEF96F #6FF9CF
square
#8A6FF9 #F96F99 #DEF96F #6FF9CF
split-complementary
#8A6FF9 #F9CF6F #99F96F
monochromatic
#340AE4 #5A34F7 #8A6FF9 #BAAAFB #E7E2FE

Accessibility & contrast

On white

3.67
#8A6FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A6FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF9#FFFFFF#000000##000000
##8A6FF91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D88FE
Deuteranopia (green-blind)
#2082F6
Tritanopia (blue-blind)
#688DA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ff9;
/* rgb */ color: rgb(138, 111, 249);
/* oklch */ color: oklch(63.6% 0.198 288.5);
Tailwind
colors: {
  custom: {
    50: '#b399fc',
    500: '#8a6ff9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff9;
$custom-light: #b399fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff9",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 251.739,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.1976,
    "h": 288.5
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#8A6FF9
secondary
#EDF5CF
accent
#E600B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A6FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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