#8D7AF6#8D7AF6

#8D7AF6 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.5% C 0.178 H 287.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D7AF6
RGBrgb(141, 122, 246)
HSLhsl(249, 87%, 72%)
HSVhsv(249, 50%, 96%)
CMYKcmyk(42.7%, 50.4%, 0%, 3.5%)
CIE-LABlab(58.26, 36.84, -59.95)
CIE-LCHlch(58.26, 70.37, 301.57°)
OKLaboklab(65.51% 0.0535 -0.1703)
OKLCHoklch(65.51% 0.178 287.5)
XYZxyz(34.5739, 26.2343, 90.4130)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AF6 #E3F67A
analogous
#7AA5F6 #8D7AF6 #CB7AF6
triadic
#8D7AF6 #F68D7A #7AF68D
tetradic
#8D7AF6 #F67AA5 #E3F67A #7AF6CB
square
#8D7AF6 #F67AA5 #E3F67A #7AF6CB
split-complementary
#8D7AF6 #F6CB7A #A5F67A
monochromatic
#3010E6 #5C41F2 #8D7AF6 #BEB3FA #E6E2FD

Accessibility & contrast

On white

3.36
#8D7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8D7AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AF6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AF6#FFFFFF#000000##000000
##8D7AF61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#4289F3
Tritanopia (blue-blind)
#6E94AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7af6;
/* rgb */ color: rgb(141, 122, 246);
/* oklch */ color: oklch(65.5% 0.178 287.5);
Tailwind
colors: {
  custom: {
    50: '#b4a1fa',
    500: '#8d7af6',
    950: '#000000',
  },
}
SCSS
$custom: #8d7af6;
$custom-light: #b4a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7af6",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 249.194,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65508,
    "c": 0.17847,
    "h": 287.5
  },
  "luminance": 0.26236
}

Semantic roles & 50–950 ramp

primary
#8D7AF6
secondary
#F0F5D6
accent
#E402C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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