#8A7FE0#8A7FE0

#8A7FE0 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.9% C 0.142 H 286.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A7FE0
RGBrgb(138, 127, 224)
HSLhsl(247, 61%, 69%)
HSVhsv(247, 43%, 88%)
CMYKcmyk(38.4%, 43.3%, 0%, 12.2%)
CIE-LABlab(58.00, 27.12, -48.14)
CIE-LCHlch(58.00, 55.25, 299.40°)
OKLaboklab(64.86% 0.0413 -0.1357)
OKLCHoklch(64.86% 0.142 286.9)
XYZxyz(31.5214, 25.9628, 73.8571)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FE0 #D5E07F
analogous
#7FA5E0 #8A7FE0 #BB7FE0
triadic
#8A7FE0 #E08A7F #7FE08A
tetradic
#8A7FE0 #E07FA5 #D5E07F #7FE0BB
square
#8A7FE0 #E07FA5 #D5E07F #7FE0BB
split-complementary
#8A7FE0 #E0BB7F #A5E07F
monochromatic
#3C2DB8 #5D4ED4 #8A7FE0 #B7B0EC #E4E2F8

Accessibility & contrast

On white

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

On black

6.19
#8A7FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FE0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FE0#FFFFFF#000000##000000
##8A7FE01.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE4
Deuteranopia (green-blind)
#5C89DE
Tritanopia (blue-blind)
#7292A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7fe0;
/* rgb */ color: rgb(138, 127, 224);
/* oklch */ color: oklch(64.9% 0.142 286.9);
Tailwind
colors: {
  custom: {
    50: '#b0a4ea',
    500: '#8a7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fe0;
$custom-light: #b0a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fe0",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 246.804,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64864,
    "c": 0.14188,
    "h": 286.9
  },
  "luminance": 0.25964
}

Semantic roles & 50–950 ramp

primary
#8A7FE0
secondary
#E8ECCF
accent
#C91DB5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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