#8A7EE5#8A7EE5

#8A7EE5 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.150 H 286.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8A7EE5
RGBrgb(138, 126, 229)
HSLhsl(247, 66%, 70%)
HSVhsv(247, 45%, 90%)
CMYKcmyk(39.7%, 45%, 0%, 10.2%)
CIE-LABlab(58.02, 29.08, -50.90)
CIE-LCHlch(58.02, 58.63, 299.74°)
OKLaboklab(64.96% 0.0433 -0.1438)
OKLCHoklch(64.96% 0.15 286.8)
XYZxyz(32.0810, 25.9810, 77.4381)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EE5 #D9E57E
analogous
#7EA6E5 #8A7EE5 #BD7EE5
triadic
#8A7EE5 #E58A7E #7EE58A
tetradic
#8A7EE5 #E57EA6 #D9E57E #7EE5BD
square
#8A7EE5 #E57EA6 #D9E57E #7EE5BD
split-complementary
#8A7EE5 #E5BD7E #A6E57E
monochromatic
#3927C2 #5C4BDB #8A7EE5 #B8B1EF #E6E4FA

Accessibility & contrast

On white

3.39
#8A7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8A7EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EE5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EE5#FFFFFF#000000##000000
##8A7EE51.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE9
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#7093A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7ee5;
/* rgb */ color: rgb(138, 126, 229);
/* oklch */ color: oklch(65.0% 0.150 286.8);
Tailwind
colors: {
  custom: {
    50: '#b0a3ee',
    500: '#8a7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ee5;
$custom-light: #b0a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ee5",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 246.99,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64962,
    "c": 0.1502,
    "h": 286.8
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#8A7EE5
secondary
#EBEED1
accent
#CE17B9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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