#8A6BF7#8A6BF7

#8A6BF7 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 62.8% C 0.200 H 289.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A6BF7
RGBrgb(138, 107, 247)
HSLhsl(253, 90%, 69%)
HSVhsv(253, 57%, 97%)
CMYKcmyk(44.1%, 56.7%, 0%, 3.1%)
CIE-LABlab(54.69, 45.01, -66.25)
CIE-LCHlch(54.69, 80.10, 304.19°)
OKLaboklab(62.82% 0.0671 -0.1889)
OKLCHoklch(62.82% 0.2 289.5)
XYZxyz(32.5227, 22.6329, 90.6326)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6BF7 #D8F76B
analogous
#6B92F7 #8A6BF7 #D06BF7
triadic
#8A6BF7 #F78A6B #6BF78A
tetradic
#8A6BF7 #F76B92 #D8F76B #6BF7D0
square
#8A6BF7 #F76B92 #D8F76B #6BF7D0
split-complementary
#8A6BF7 #F7D06B #92F76B
monochromatic
#3A0CDC #5C31F4 #8A6BF7 #B8A5FA #E6DFFD

Accessibility & contrast

On white

3.80
#8A6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6BF7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6BF7#FFFFFF#000000##000000
##8A6BF71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A86FC
Deuteranopia (green-blind)
#1680F4
Tritanopia (blue-blind)
#698AA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a6bf7;
/* rgb */ color: rgb(138, 107, 247);
/* oklch */ color: oklch(62.8% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#b396fb',
    500: '#8a6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6bf7;
$custom-light: #b396fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6bf7",
  "rgb": {
    "r": 138,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 253.286,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62818,
    "c": 0.20047,
    "h": 289.5
  },
  "luminance": 0.22634
}

Semantic roles & 50–950 ramp

primary
#8A6BF7
secondary
#EAF3CB
accent
#E600B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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