#8A7EFE#8A7EFE

#8A7EFE is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.5% C 0.184 H 284.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A7EFE
RGBrgb(138, 126, 254)
HSLhsl(246, 98%, 75%)
HSVhsv(246, 50%, 100%)
CMYKcmyk(45.7%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.42, 36.11, -62.52)
CIE-LCHlch(59.42, 72.20, 300.01°)
OKLaboklab(66.46% 0.0459 -0.1779)
OKLCHoklch(66.46% 0.184 284.5)
XYZxyz(35.8262, 27.4791, 97.1630)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EFE #F2FE7E
analogous
#7EB2FE #8A7EFE #CA7EFE
triadic
#8A7EFE #FE8A7E #7EFE8A
tetradic
#8A7EFE #FE7EB2 #F2FE7E #7EFECA
square
#8A7EFE #FE7EB2 #F2FE7E #7EFECA
split-complementary
#8A7EFE #FECA7E #B2FE7E
monochromatic
#1C05FD #5341FE #8A7EFE #C1BBFE #E3E1FF

Accessibility & contrast

On white

3.23
#8A7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8A7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EFE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EFE#FFFFFF#000000##000000
##8A7EFE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#6399B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7efe;
/* rgb */ color: rgb(138, 126, 254);
/* oklch */ color: oklch(66.5% 0.184 284.5);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#8a7efe',
    950: '#000000',
  },
}
SCSS
$custom: #8a7efe;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7efe",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 245.625,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.18371,
    "h": 284.5
  },
  "luminance": 0.27481
}

Semantic roles & 50–950 ramp

primary
#8A7EFE
secondary
#F4F7D4
accent
#E600D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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