#8A7CF4#8A7CF4

#8A7CF4 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.5% C 0.173 H 285.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A7CF4
RGBrgb(138, 124, 244)
HSLhsl(247, 85%, 72%)
HSVhsv(247, 49%, 96%)
CMYKcmyk(43.4%, 49.2%, 0%, 4.3%)
CIE-LABlab(58.37, 34.44, -58.69)
CIE-LCHlch(58.37, 68.04, 300.40°)
OKLaboklab(65.49% 0.0475 -0.1666)
OKLCHoklch(65.49% 0.173 285.9)
XYZxyz(34.0133, 26.3489, 88.8641)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CF4 #E6F47C
analogous
#7CAAF4 #8A7CF4 #C67CF4
triadic
#8A7CF4 #F48A7C #7CF48A
tetradic
#8A7CF4 #F47CAA #E6F47C #7CF4C6
square
#8A7CF4 #F47CAA #E6F47C #7CF4C6
split-complementary
#8A7CF4 #F4C67C #AAF47C
monochromatic
#2B13E3 #5844EF #8A7CF4 #BCB4F9 #E6E3FD

Accessibility & contrast

On white

3.35
#8A7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8A7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CF4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CF4#FFFFFF#000000##000000
##8A7CF41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F8
Deuteranopia (green-blind)
#4689F1
Tritanopia (blue-blind)
#6995AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7cf4;
/* rgb */ color: rgb(138, 124, 244);
/* oklch */ color: oklch(65.5% 0.173 285.9);
Tailwind
colors: {
  custom: {
    50: '#b1a2f8',
    500: '#8a7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cf4;
$custom-light: #b1a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cf4",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 247,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.17324,
    "h": 285.9
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#8A7CF4
secondary
#F1F5D6
accent
#E105C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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