#8A7FF9#8A7FF9

#8A7FF9 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.176 H 284.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF9
RGBrgb(138, 127, 249)
HSLhsl(245, 91%, 74%)
HSVhsv(245, 49%, 98%)
CMYKcmyk(44.6%, 49%, 0%, 2.4%)
CIE-LABlab(59.36, 34.11, -59.86)
CIE-LCHlch(59.36, 68.89, 299.68°)
OKLaboklab(66.33% 0.0444 -0.17)
OKLCHoklch(66.33% 0.176 284.6)
XYZxyz(35.1645, 27.4200, 93.0439)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF9 #EEF97F
analogous
#7FB1F9 #8A7FF9 #C77FF9
triadic
#8A7FF9 #F98A7F #7FF98A
tetradic
#8A7FF9 #F97FB1 #EEF97F #7FF9C7
square
#8A7FF9 #F97FB1 #EEF97F #7FF9C7
split-complementary
#8A7FF9 #F9C77F #B1F97F
monochromatic
#200BF2 #5545F6 #8A7FF9 #BFB9FC #E4E2FE

Accessibility & contrast

On white

3.24
#8A7FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8A7FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF9#FFFFFF#000000##000000
##8A7FF91.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FD
Deuteranopia (green-blind)
#458BF6
Tritanopia (blue-blind)
#6699B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ff9;
/* rgb */ color: rgb(138, 127, 249);
/* oklch */ color: oklch(66.3% 0.176 284.6);
Tailwind
colors: {
  custom: {
    50: '#b2a4fc',
    500: '#8a7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff9;
$custom-light: #b2a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff9",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 245.41,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6633,
    "c": 0.17573,
    "h": 284.6
  },
  "luminance": 0.27422
}

Semantic roles & 50–950 ramp

primary
#8A7FF9
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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