#8A7CF7#8A7CF7

#8A7CF7 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.7% C 0.177 H 285.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A7CF7
RGBrgb(138, 124, 247)
HSLhsl(247, 88%, 73%)
HSVhsv(247, 50%, 97%)
CMYKcmyk(44.1%, 49.8%, 0%, 3.1%)
CIE-LABlab(58.54, 35.28, -60.07)
CIE-LCHlch(58.54, 69.66, 300.43°)
OKLaboklab(65.68% 0.0477 -0.1707)
OKLCHoklch(65.68% 0.177 285.6)
XYZxyz(34.4725, 26.5325, 91.2826)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CF7 #E9F77C
analogous
#7CACF7 #8A7CF7 #C77CF7
triadic
#8A7CF7 #F78A7C #7CF78A
tetradic
#8A7CF7 #F77CAC #E9F77C #7CF7C7
square
#8A7CF7 #F77CAC #E9F77C #7CF7C7
split-complementary
#8A7CF7 #F7C77C #ACF77C
monochromatic
#270EEA #5642F3 #8A7CF7 #BEB6FB #E5E2FD

Accessibility & contrast

On white

3.33
#8A7CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8A7CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CF7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CF7#FFFFFF#000000##000000
##8A7CF71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#6896AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7cf7;
/* rgb */ color: rgb(138, 124, 247);
/* oklch */ color: oklch(65.7% 0.177 285.6);
Tailwind
colors: {
  custom: {
    50: '#b2a2fa',
    500: '#8a7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cf7;
$custom-light: #b2a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cf7",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 246.829,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65677,
    "c": 0.17722,
    "h": 285.6
  },
  "luminance": 0.26534
}

Semantic roles & 50–950 ramp

primary
#8A7CF7
secondary
#F2F5D6
accent
#E500CB
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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