#8A7FF5#8A7FF5

#8A7FF5 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.170 H 285.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF5
RGBrgb(138, 127, 245)
HSLhsl(246, 86%, 73%)
HSVhsv(246, 48%, 96%)
CMYKcmyk(43.7%, 48.2%, 0%, 3.9%)
CIE-LABlab(59.13, 32.98, -58.01)
CIE-LCHlch(59.13, 66.73, 299.62°)
OKLaboklab(66.09% 0.044 -0.1646)
OKLCHoklch(66.09% 0.17 285)
XYZxyz(34.5473, 27.1731, 89.7931)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF5 #EAF57F
analogous
#7FAFF5 #8A7FF5 #C57FF5
triadic
#8A7FF5 #F58A7F #7FF58A
tetradic
#8A7FF5 #F57FAF #EAF57F #7FF5C5
square
#8A7FF5 #F57FAF #EAF57F #7FF5C5
split-complementary
#8A7FF5 #F5C57F #AFF57F
monochromatic
#2612E8 #5646F1 #8A7FF5 #BEB8F9 #E5E3FD

Accessibility & contrast

On white

3.26
#8A7FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8A7FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF5#FFFFFF#000000##000000
##8A7FF51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#6898AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7ff5;
/* rgb */ color: rgb(138, 127, 245);
/* oklch */ color: oklch(66.1% 0.170 285.0);
Tailwind
colors: {
  custom: {
    50: '#b1a4f9',
    500: '#8a7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff5;
$custom-light: #b1a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff5",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 245.593,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66087,
    "c": 0.17041,
    "h": 285
  },
  "luminance": 0.27175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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