#8A7CF9#8A7CF9

#8A7CF9 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.8% C 0.180 H 285.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A7CF9
RGBrgb(138, 124, 249)
HSLhsl(247, 91%, 73%)
HSVhsv(247, 50%, 98%)
CMYKcmyk(44.6%, 50.2%, 0%, 2.4%)
CIE-LABlab(58.66, 35.85, -60.99)
CIE-LCHlch(58.66, 70.74, 300.45°)
OKLaboklab(65.8% 0.0478 -0.1734)
OKLCHoklch(65.8% 0.18 285.4)
XYZxyz(34.7828, 26.6567, 92.9167)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CF9 #EBF97C
analogous
#7CACF9 #8A7CF9 #C87CF9
triadic
#8A7CF9 #F98A7C #7CF98A
tetradic
#8A7CF9 #F97CAC #EBF97C #7CF9C8
square
#8A7CF9 #F97CAC #EBF97C #7CF9C8
split-complementary
#8A7CF9 #F9C87C #ACF97C
monochromatic
#250BF0 #5641F6 #8A7CF9 #BEB7FC #E5E2FE

Accessibility & contrast

On white

3.32
#8A7CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A7CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CF9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CF9#FFFFFF#000000##000000
##8A7CF91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FD
Deuteranopia (green-blind)
#4089F6
Tritanopia (blue-blind)
#6797AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7cf9;
/* rgb */ color: rgb(138, 124, 249);
/* oklch */ color: oklch(65.8% 0.180 285.4);
Tailwind
colors: {
  custom: {
    50: '#b2a2fc',
    500: '#8a7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cf9;
$custom-light: #b2a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cf9",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 246.72,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65801,
    "c": 0.17986,
    "h": 285.4
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

primary
#8A7CF9
secondary
#F2F6D5
accent
#E600CC
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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