#8A7FF7#8A7FF7

#8A7FF7 is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.2% C 0.173 H 284.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF7
RGBrgb(138, 127, 247)
HSLhsl(246, 88%, 73%)
HSVhsv(246, 49%, 97%)
CMYKcmyk(44.1%, 48.6%, 0%, 3.1%)
CIE-LABlab(59.25, 33.54, -58.94)
CIE-LCHlch(59.25, 67.81, 299.65°)
OKLaboklab(66.21% 0.0442 -0.1673)
OKLCHoklch(66.21% 0.173 284.8)
XYZxyz(34.8542, 27.2959, 91.4098)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF7 #ECF77F
analogous
#7FB0F7 #8A7FF7 #C67FF7
triadic
#8A7FF7 #F78A7F #7FF78A
tetradic
#8A7FF7 #F77FB0 #ECF77F #7FF7C6
square
#8A7FF7 #F77FB0 #ECF77F #7FF7C6
split-complementary
#8A7FF7 #F7C67F #B0F77F
monochromatic
#230FED #5545F3 #8A7FF7 #BFB9FB #E5E2FD

Accessibility & contrast

On white

3.25
#8A7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A7FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF7#FFFFFF#000000##000000
##8A7FF71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#6798AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ff7;
/* rgb */ color: rgb(138, 127, 247);
/* oklch */ color: oklch(66.2% 0.173 284.8);
Tailwind
colors: {
  custom: {
    50: '#b2a4fa',
    500: '#8a7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff7;
$custom-light: #b2a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff7",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 245.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.17308,
    "h": 284.8
  },
  "luminance": 0.27297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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