#8D7AF7#8D7AF7

#8D7AF7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.6% C 0.180 H 287.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D7AF7
RGBrgb(141, 122, 247)
HSLhsl(249, 89%, 72%)
HSVhsv(249, 51%, 97%)
CMYKcmyk(42.9%, 50.6%, 0%, 3.1%)
CIE-LABlab(58.32, 37.12, -60.41)
CIE-LCHlch(58.32, 70.90, 301.57°)
OKLaboklab(65.57% 0.0536 -0.1716)
OKLCHoklch(65.57% 0.18 287.3)
XYZxyz(34.7278, 26.2959, 91.2235)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AF7 #E4F77A
analogous
#7AA6F7 #8D7AF7 #CC7AF7
triadic
#8D7AF7 #F78D7A #7AF78D
tetradic
#8D7AF7 #F77AA6 #E4F77A #7AF7CC
square
#8D7AF7 #F77AA6 #E4F77A #7AF7CC
split-complementary
#8D7AF7 #F7CC7A #A6F77A
monochromatic
#2F0EE9 #5C40F4 #8D7AF7 #BEB4FA #E6E2FD

Accessibility & contrast

On white

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

On black

6.26
#8D7AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AF7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AF7#FFFFFF#000000##000000
##8D7AF71.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#6D94AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7af7;
/* rgb */ color: rgb(141, 122, 247);
/* oklch */ color: oklch(65.6% 0.180 287.3);
Tailwind
colors: {
  custom: {
    50: '#b4a1fa',
    500: '#8d7af7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7af7;
$custom-light: #b4a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7af7",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 249.12,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6557,
    "c": 0.17978,
    "h": 287.3
  },
  "luminance": 0.26297
}

Semantic roles & 50–950 ramp

primary
#8D7AF7
secondary
#F1F5D6
accent
#E500C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #8D7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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