#8A6FF7#8A6FF7

#8A6FF7 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.5% C 0.195 H 288.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A6FF7
RGBrgb(138, 111, 247)
HSLhsl(252, 89%, 70%)
HSVhsv(252, 55%, 97%)
CMYKcmyk(44.1%, 55.1%, 0%, 3.1%)
CIE-LABlab(55.57, 42.75, -64.84)
CIE-LCHlch(55.57, 77.66, 303.40°)
OKLaboklab(63.47% 0.0626 -0.1847)
OKLCHoklch(63.47% 0.195 288.7)
XYZxyz(32.9494, 23.4863, 90.7749)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FF7 #DCF76F
analogous
#6F98F7 #8A6FF7 #CE6FF7
triadic
#8A6FF7 #F78A6F #6FF78A
tetradic
#8A6FF7 #F76F98 #DCF76F #6FF7CE
square
#8A6FF7 #F76F98 #DCF76F #6FF7CE
split-complementary
#8A6FF7 #F7CE6F #98F76F
monochromatic
#360CDF #5B35F4 #8A6FF7 #B9A9FA #E7E2FD

Accessibility & contrast

On white

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

On black

5.70
#8A6FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FF7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FF7#FFFFFF#000000##000000
##8A6FF71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2188FC
Deuteranopia (green-blind)
#2582F4
Tritanopia (blue-blind)
#698DA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a6ff7;
/* rgb */ color: rgb(138, 111, 247);
/* oklch */ color: oklch(63.5% 0.195 288.7);
Tailwind
colors: {
  custom: {
    50: '#b299fb',
    500: '#8a6ff7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ff7;
$custom-light: #b299fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ff7",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 251.912,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63466,
    "c": 0.19506,
    "h": 288.7
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#8A6FF7
secondary
#ECF4CE
accent
#E600B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A6FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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