#8A6DF7#8A6DF7

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

Color values

HEX#8A6DF7
RGBrgb(138, 109, 247)
HSLhsl(253, 90%, 70%)
HSVhsv(253, 56%, 97%)
CMYKcmyk(44.1%, 55.9%, 0%, 3.1%)
CIE-LABlab(55.13, 43.88, -65.55)
CIE-LCHlch(55.13, 78.88, 303.80°)
OKLaboklab(63.14% 0.0649 -0.1868)
OKLCHoklch(63.14% 0.198 289.1)
XYZxyz(32.7336, 23.0547, 90.7029)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6DF7 #DAF76D
analogous
#6D95F7 #8A6DF7 #CF6DF7
triadic
#8A6DF7 #F78A6D #6DF78A
tetradic
#8A6DF7 #F76D95 #DAF76D #6DF7CF
square
#8A6DF7 #F76D95 #DAF76D #6DF7CF
split-complementary
#8A6DF7 #F7CF6D #95F76D
monochromatic
#380CDD #5C33F4 #8A6DF7 #B8A7FA #E7E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A6DF7#FFFFFF#000000##000000
##8A6DF71.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)
#1887FC
Deuteranopia (green-blind)
#1E81F4
Tritanopia (blue-blind)
#698BA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a6df7;
/* rgb */ color: rgb(138, 109, 247);
/* oklch */ color: oklch(63.1% 0.198 289.1);
Tailwind
colors: {
  custom: {
    50: '#b398fb',
    500: '#8a6df7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6df7;
$custom-light: #b398fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6df7",
  "rgb": {
    "r": 138,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 252.609,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6314,
    "c": 0.19778,
    "h": 289.1
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#8A6DF7
secondary
#EBF3CC
accent
#E600B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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