#8A7FED#8A7FED

#8A7FED is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.6% C 0.160 H 285.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A7FED
RGBrgb(138, 127, 237)
HSLhsl(246, 75%, 71%)
HSVhsv(246, 46%, 93%)
CMYKcmyk(41.8%, 46.4%, 0%, 7.1%)
CIE-LABlab(58.69, 30.72, -54.29)
CIE-LCHlch(58.69, 62.38, 299.51°)
OKLaboklab(65.61% 0.0431 -0.1537)
OKLCHoklch(65.61% 0.16 285.7)
XYZxyz(33.3523, 26.6952, 83.4997)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FED #E2ED7F
analogous
#7FABED #8A7FED #C17FED
triadic
#8A7FED #ED8A7F #7FED8A
tetradic
#8A7FED #ED7FAB #E2ED7F #7FEDC1
square
#8A7FED #ED7FAB #E2ED7F #7FEDC1
split-complementary
#8A7FED #EDC17F #ABED7F
monochromatic
#301ED4 #5949E5 #8A7FED #BBB5F5 #E6E4FB

Accessibility & contrast

On white

3.31
#8A7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FED
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FED#FFFFFF#000000##000000
##8A7FED1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#6C95AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7fed;
/* rgb */ color: rgb(138, 127, 237);
/* oklch */ color: oklch(65.6% 0.160 285.7);
Tailwind
colors: {
  custom: {
    50: '#b1a4f3',
    500: '#8a7fed',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fed;
$custom-light: #b1a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fed",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 246,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65609,
    "c": 0.15964,
    "h": 285.7
  },
  "luminance": 0.26696
}

Semantic roles & 50–950 ramp

primary
#8A7FED
secondary
#EFF2D6
accent
#D80EC3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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