#8A7EFD#8A7EFD

#8A7EFD is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.4% C 0.182 H 284.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A7EFD
RGBrgb(138, 126, 253)
HSLhsl(246, 97%, 74%)
HSVhsv(246, 50%, 99%)
CMYKcmyk(45.5%, 50.2%, 0%, 0.8%)
CIE-LABlab(59.36, 35.83, -62.07)
CIE-LCHlch(59.36, 71.67, 300.00°)
OKLaboklab(66.4% 0.0459 -0.1765)
OKLCHoklch(66.4% 0.182 284.6)
XYZxyz(35.6665, 27.4152, 96.3218)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7EFD #F1FD7E
analogous
#7EB2FD #8A7EFD #CA7EFD
triadic
#8A7EFD #FD8A7E #7EFD8A
tetradic
#8A7EFD #FD7EB2 #F1FD7E #7EFDCA
square
#8A7EFD #FD7EB2 #F1FD7E #7EFDCA
split-complementary
#8A7EFD #FDCA7E #B2FD7E
monochromatic
#1D05FB #5342FC #8A7EFD #C1BAFE #E4E1FF

Accessibility & contrast

On white

3.24
#8A7EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8A7EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7EFD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7EFD#FFFFFF#000000##000000
##8A7EFD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#3F8BFA
Tritanopia (blue-blind)
#6499B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7efd;
/* rgb */ color: rgb(138, 126, 253);
/* oklch */ color: oklch(66.4% 0.182 284.6);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#8a7efd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7efd;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7efd",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 245.669,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.1824,
    "h": 284.6
  },
  "luminance": 0.27417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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