#8D7AF5#8D7AF5

#8D7AF5 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.4% C 0.177 H 287.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8D7AF5
RGBrgb(141, 122, 245)
HSLhsl(249, 86%, 72%)
HSVhsv(249, 50%, 96%)
CMYKcmyk(42.4%, 50.2%, 0%, 3.9%)
CIE-LABlab(58.20, 36.56, -59.49)
CIE-LCHlch(58.20, 69.83, 301.57°)
OKLaboklab(65.45% 0.0534 -0.1689)
OKLCHoklch(65.45% 0.177 287.6)
XYZxyz(34.4208, 26.1731, 89.6068)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AF5 #E2F57A
analogous
#7AA5F5 #8D7AF5 #CA7AF5
triadic
#8D7AF5 #F58D7A #7AF58D
tetradic
#8D7AF5 #F57AA5 #E2F57A #7AF5CA
square
#8D7AF5 #F57AA5 #E2F57A #7AF5CA
split-complementary
#8D7AF5 #F5CA7A #A5F57A
monochromatic
#3211E3 #5C41F1 #8D7AF5 #BEB3F9 #E7E3FD

Accessibility & contrast

On white

3.37
#8D7AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8D7AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AF5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AF5#FFFFFF#000000##000000
##8D7AF51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#4489F2
Tritanopia (blue-blind)
#6E94AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7af5;
/* rgb */ color: rgb(141, 122, 245);
/* oklch */ color: oklch(65.4% 0.177 287.6);
Tailwind
colors: {
  custom: {
    50: '#b4a1f9',
    500: '#8d7af5',
    950: '#000000',
  },
}
SCSS
$custom: #8d7af5;
$custom-light: #b4a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7af5",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 249.268,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65446,
    "c": 0.17716,
    "h": 287.6
  },
  "luminance": 0.26174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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