#8D7AFB#8D7AFB

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

Color values

HEX#8D7AFB
RGBrgb(141, 122, 251)
HSLhsl(249, 94%, 73%)
HSVhsv(249, 51%, 98%)
CMYKcmyk(43.8%, 51.4%, 0%, 1.6%)
CIE-LABlab(58.55, 38.24, -62.24)
CIE-LCHlch(58.55, 73.05, 301.56°)
OKLaboklab(65.82% 0.0539 -0.177)
OKLCHoklch(65.82% 0.185 286.9)
XYZxyz(35.3516, 26.5454, 94.5092)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AFB #E8FB7A
analogous
#7AA7FB #8D7AFB #CD7AFB
triadic
#8D7AFB #FB8D7A #7AFB8D
tetradic
#8D7AFB #FB7AA7 #E8FB7A #7AFBCD
square
#8D7AFB #FB7AA7 #E8FB7A #7AFBCD
split-complementary
#8D7AFB #FBCD7A #A7FB7A
monochromatic
#2A07F3 #5A3FF9 #8D7AFB #C0B5FD #E6E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7AFB#FFFFFF#000000##000000
##8D7AFB1.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)
#3E90FF
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#6B95AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7afb;
/* rgb */ color: rgb(141, 122, 251);
/* oklch */ color: oklch(65.8% 0.185 286.9);
Tailwind
colors: {
  custom: {
    50: '#b4a1fd',
    500: '#8d7afb',
    950: '#000000',
  },
}
SCSS
$custom: #8d7afb;
$custom-light: #b4a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7afb",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 248.837,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.18501,
    "h": 286.9
  },
  "luminance": 0.26547
}

Semantic roles & 50–950 ramp

primary
#8D7AFB
secondary
#F1F6D5
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #8D7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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