#8A7FF6#8A7FF6

#8A7FF6 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.172 H 284.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF6
RGBrgb(138, 127, 246)
HSLhsl(246, 87%, 73%)
HSVhsv(246, 48%, 96%)
CMYKcmyk(43.9%, 48.4%, 0%, 3.5%)
CIE-LABlab(59.19, 33.26, -58.47)
CIE-LCHlch(59.19, 67.27, 299.63°)
OKLaboklab(66.15% 0.0441 -0.166)
OKLCHoklch(66.15% 0.172 284.9)
XYZxyz(34.7003, 27.2344, 90.5993)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF6 #EBF67F
analogous
#7FAFF6 #8A7FF6 #C57FF6
triadic
#8A7FF6 #F68A7F #7FF68A
tetradic
#8A7FF6 #F67FAF #EBF67F #7FF6C5
square
#8A7FF6 #F67FAF #EBF67F #7FF6C5
split-complementary
#8A7FF6 #F6C57F #AFF67F
monochromatic
#2510EA #5646F2 #8A7FF6 #BEB8FA #E5E2FD

Accessibility & contrast

On white

3.26
#8A7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8A7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF6#FFFFFF#000000##000000
##8A7FF61.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#6898AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7ff6;
/* rgb */ color: rgb(138, 127, 246);
/* oklch */ color: oklch(66.1% 0.172 284.9);
Tailwind
colors: {
  custom: {
    50: '#b2a4fa',
    500: '#8a7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff6;
$custom-light: #b2a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff6",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 245.546,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66147,
    "c": 0.17174,
    "h": 284.9
  },
  "luminance": 0.27236
}

Semantic roles & 50–950 ramp

primary
#8A7FF6
secondary
#F2F5D6
accent
#E302CF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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