#8A7EE7#8A7EE7

#8A7EE7 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.1% C 0.153 H 286.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A7EE7
RGBrgb(138, 126, 231)
HSLhsl(247, 69%, 70%)
HSVhsv(247, 45%, 91%)
CMYKcmyk(40.3%, 45.5%, 0%, 9.4%)
CIE-LABlab(58.13, 29.63, -51.85)
CIE-LCHlch(58.13, 59.72, 299.75°)
OKLaboklab(65.08% 0.0436 -0.1466)
OKLCHoklch(65.08% 0.153 286.6)
XYZxyz(32.3618, 26.0934, 78.9172)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EE7 #DBE77E
analogous
#7EA7E7 #8A7EE7 #BE7EE7
triadic
#8A7EE7 #E78A7E #7EE78A
tetradic
#8A7EE7 #E77EA7 #DBE77E #7EE7BE
square
#8A7EE7 #E77EA7 #DBE77E #7EE7BE
split-complementary
#8A7EE7 #E7BE7E #A7E77E
monochromatic
#3725C6 #5B4ADD #8A7EE7 #B9B2F1 #E8E5FA

Accessibility & contrast

On white

3.38
#8A7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A7EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EE7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EE7#FFFFFF#000000##000000
##8A7EE71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578EEB
Deuteranopia (green-blind)
#5589E5
Tritanopia (blue-blind)
#6F93A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7ee7;
/* rgb */ color: rgb(138, 126, 231);
/* oklch */ color: oklch(65.1% 0.153 286.6);
Tailwind
colors: {
  custom: {
    50: '#b0a3ef',
    500: '#8a7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ee7;
$custom-light: #b0a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ee7",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 246.857,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.65077,
    "c": 0.15292,
    "h": 286.6
  },
  "luminance": 0.26095
}

Semantic roles & 50–950 ramp

primary
#8A7EE7
secondary
#ECEFD2
accent
#D115BB
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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