#8A7FE4#8A7FE4

#8A7FE4 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.1% C 0.147 H 286.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A7FE4
RGBrgb(138, 127, 228)
HSLhsl(247, 65%, 70%)
HSVhsv(247, 44%, 89%)
CMYKcmyk(39.5%, 44.3%, 0%, 10.6%)
CIE-LABlab(58.21, 28.22, -50.04)
CIE-LCHlch(58.21, 57.45, 299.42°)
OKLaboklab(65.09% 0.0419 -0.1413)
OKLCHoklch(65.09% 0.147 286.5)
XYZxyz(32.0703, 26.1824, 76.7477)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FE4 #D9E47F
analogous
#7FA6E4 #8A7FE4 #BD7FE4
triadic
#8A7FE4 #E48A7F #7FE48A
tetradic
#8A7FE4 #E47FA6 #D9E47F #7FE4BD
square
#8A7FE4 #E47FA6 #D9E47F #7FE4BD
split-complementary
#8A7FE4 #E4BD7F #A6E47F
monochromatic
#3929C0 #5C4CD9 #8A7FE4 #B8B2EF #E6E4F9

Accessibility & contrast

On white

3.37
#8A7FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8A7FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FE4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FE4#FFFFFF#000000##000000
##8A7FE41.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE8
Deuteranopia (green-blind)
#5989E2
Tritanopia (blue-blind)
#7193A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7fe4;
/* rgb */ color: rgb(138, 127, 228);
/* oklch */ color: oklch(65.1% 0.147 286.5);
Tailwind
colors: {
  custom: {
    50: '#b0a4ed',
    500: '#8a7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fe4;
$custom-light: #b0a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fe4",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 246.535,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65089,
    "c": 0.14738,
    "h": 286.5
  },
  "luminance": 0.26183
}

Semantic roles & 50–950 ramp

primary
#8A7FE4
secondary
#EBEED1
accent
#CD19B9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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