#8D7AF8#8D7AF8

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

Color values

HEX#8D7AF8
RGBrgb(141, 122, 248)
HSLhsl(249, 90%, 73%)
HSVhsv(249, 51%, 97%)
CMYKcmyk(43.1%, 50.8%, 0%, 2.7%)
CIE-LABlab(58.38, 37.40, -60.87)
CIE-LCHlch(58.38, 71.44, 301.57°)
OKLaboklab(65.63% 0.0537 -0.173)
OKLCHoklch(65.63% 0.181 287.2)
XYZxyz(34.8825, 26.3578, 92.0383)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AF8 #E5F87A
analogous
#7AA6F8 #8D7AF8 #CC7AF8
triadic
#8D7AF8 #F88D7A #7AF88D
tetradic
#8D7AF8 #F87AA6 #E5F87A #7AF8CC
square
#8D7AF8 #F87AA6 #E5F87A #7AF8CC
split-complementary
#8D7AF8 #F8CC7A #A6F87A
monochromatic
#2E0CEB #5B40F5 #8D7AF8 #BFB4FB #E6E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7AF8#FFFFFF#000000##000000
##8D7AF81.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)
#418FFC
Deuteranopia (green-blind)
#4089F5
Tritanopia (blue-blind)
#6D95AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7af8;
/* rgb */ color: rgb(141, 122, 248);
/* oklch */ color: oklch(65.6% 0.181 287.2);
Tailwind
colors: {
  custom: {
    50: '#b4a1fb',
    500: '#8d7af8',
    950: '#000000',
  },
}
SCSS
$custom: #8d7af8;
$custom-light: #b4a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7af8",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 249.048,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.18109,
    "h": 287.2
  },
  "luminance": 0.26359
}

Semantic roles & 50–950 ramp

primary
#8D7AF8
secondary
#F1F6D5
accent
#E600C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #8D7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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