#8A7EED#8A7EED

#8A7EED is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.161 H 286.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A7EED
RGBrgb(138, 126, 237)
HSLhsl(246, 76%, 71%)
HSVhsv(246, 47%, 93%)
CMYKcmyk(41.8%, 46.8%, 0%, 7.1%)
CIE-LABlab(58.45, 31.31, -54.67)
CIE-LCHlch(58.45, 63.00, 299.80°)
OKLaboklab(65.43% 0.0443 -0.1548)
OKLCHoklch(65.43% 0.161 286)
XYZxyz(33.2238, 26.4381, 83.4569)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EED #E1ED7E
analogous
#7EA9ED #8A7EED #C17EED
triadic
#8A7EED #ED8A7E #7EED8A
tetradic
#8A7EED #ED7EA9 #E1ED7E #7EEDC1
square
#8A7EED #ED7EA9 #E1ED7E #7EEDC1
split-complementary
#8A7EED #EDC17E #A9ED7E
monochromatic
#311DD3 #5948E6 #8A7EED #BBB4F4 #E7E4FB

Accessibility & contrast

On white

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

On black

6.29
#8A7EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EED
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EED#FFFFFF#000000##000000
##8A7EED1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#6D95AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7eed;
/* rgb */ color: rgb(138, 126, 237);
/* oklch */ color: oklch(65.4% 0.161 286.0);
Tailwind
colors: {
  custom: {
    50: '#b1a3f3',
    500: '#8a7eed',
    950: '#000000',
  },
}
SCSS
$custom: #8a7eed;
$custom-light: #b1a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7eed",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 246.486,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65428,
    "c": 0.16105,
    "h": 286
  },
  "luminance": 0.26439
}

Semantic roles & 50–950 ramp

primary
#8A7EED
secondary
#EFF2D5
accent
#D80EC2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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