#8D7AFA#8D7AFA

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

Color values

HEX#8D7AFA
RGBrgb(141, 122, 250)
HSLhsl(249, 93%, 73%)
HSVhsv(249, 51%, 98%)
CMYKcmyk(43.6%, 51.2%, 0%, 2%)
CIE-LABlab(58.49, 37.96, -61.79)
CIE-LCHlch(58.49, 72.51, 301.56°)
OKLaboklab(65.76% 0.0538 -0.1757)
OKLCHoklch(65.76% 0.184 287)
XYZxyz(35.1944, 26.4825, 93.6812)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AFA #E7FA7A
analogous
#7AA7FA #8D7AFA #CD7AFA
triadic
#8D7AFA #FA8D7A #7AFA8D
tetradic
#8D7AFA #FA7AA7 #E7FA7A #7AFACD
square
#8D7AFA #FA7AA7 #E7FA7A #7AFACD
split-complementary
#8D7AFA #FACD7A #A7FA7A
monochromatic
#2B09F1 #5A3FF8 #8D7AFA #C0B5FC #E6E2FE

Accessibility & contrast

On white

3.34
#8D7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8D7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AFA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AFA#FFFFFF#000000##000000
##8D7AFA1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#3D89F7
Tritanopia (blue-blind)
#6C95AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7afa;
/* rgb */ color: rgb(141, 122, 250);
/* oklch */ color: oklch(65.8% 0.184 287.0);
Tailwind
colors: {
  custom: {
    50: '#b4a1fd',
    500: '#8d7afa',
    950: '#000000',
  },
}
SCSS
$custom: #8d7afa;
$custom-light: #b4a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7afa",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 248.906,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.18371,
    "h": 287
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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