#8A7FF4#8A7FF4

#8A7FF4 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.0% C 0.169 H 285.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF4
RGBrgb(138, 127, 244)
HSLhsl(246, 84%, 73%)
HSVhsv(246, 48%, 96%)
CMYKcmyk(43.4%, 48%, 0%, 4.3%)
CIE-LABlab(59.08, 32.69, -57.55)
CIE-LCHlch(59.08, 66.19, 299.60°)
OKLaboklab(66.03% 0.0439 -0.1633)
OKLCHoklch(66.03% 0.169 285)
XYZxyz(34.3950, 27.1122, 88.9913)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF4 #E9F47F
analogous
#7FAEF4 #8A7FF4 #C47FF4
triadic
#8A7FF4 #F48A7F #7FF48A
tetradic
#8A7FF4 #F47FAE #E9F47F #7FF4C4
square
#8A7FF4 #F47FAE #E9F47F #7FF4C4
split-complementary
#8A7FF4 #F4C47F #AEF47F
monochromatic
#2714E5 #5647EF #8A7FF4 #BEB7F9 #E5E3FD

Accessibility & contrast

On white

3.27
#8A7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8A7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF4#FFFFFF#000000##000000
##8A7FF41.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F8
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#6997AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7ff4;
/* rgb */ color: rgb(138, 127, 244);
/* oklch */ color: oklch(66.0% 0.169 285.0);
Tailwind
colors: {
  custom: {
    50: '#b1a4f8',
    500: '#8a7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff4;
$custom-light: #b1a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff4",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 245.641,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.16907,
    "h": 285
  },
  "luminance": 0.27114
}

Semantic roles & 50–950 ramp

primary
#8A7FF4
secondary
#F2F5D6
accent
#E105CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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