#8A6FF6#8A6FF6

#8A6FF6 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.194 H 288.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF6
RGBrgb(138, 111, 246)
HSLhsl(252, 88%, 70%)
HSVhsv(252, 55%, 96%)
CMYKcmyk(43.9%, 54.9%, 0%, 3.5%)
CIE-LABlab(55.51, 42.47, -64.38)
CIE-LCHlch(55.51, 77.13, 303.41°)
OKLaboklab(63.4% 0.0626 -0.1834)
OKLCHoklch(63.4% 0.194 288.8)
XYZxyz(32.7955, 23.4248, 89.9644)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF6 #DBF66F
analogous
#6F98F6 #8A6FF6 #CD6FF6
triadic
#8A6FF6 #F68A6F #6FF68A
tetradic
#8A6FF6 #F66F98 #DBF66F #6FF6CD
square
#8A6FF6 #F66F98 #DBF66F #6FF6CD
split-complementary
#8A6FF6 #F6CD6F #98F66F
monochromatic
#370EDD #5B35F2 #8A6FF6 #B9A9FA #E8E2FD

Accessibility & contrast

On white

3.69
#8A6FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A6FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF6#FFFFFF#000000##000000
##8A6FF61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2388FB
Deuteranopia (green-blind)
#2782F3
Tritanopia (blue-blind)
#698CA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ff6;
/* rgb */ color: rgb(138, 111, 246);
/* oklch */ color: oklch(63.4% 0.194 288.8);
Tailwind
colors: {
  custom: {
    50: '#b299fa',
    500: '#8a6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff6;
$custom-light: #b299fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff6",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 252,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.63399,
    "c": 0.1938,
    "h": 288.8
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#8A6FF6
secondary
#ECF3CE
accent
#E501B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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