#8A7AE7#8A7AE7

#8A7AE7 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.159 H 287.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A7AE7
RGBrgb(138, 122, 231)
HSLhsl(249, 69%, 69%)
HSVhsv(249, 47%, 91%)
CMYKcmyk(40.3%, 47.2%, 0%, 9.4%)
CIE-LABlab(57.16, 31.97, -53.38)
CIE-LCHlch(57.16, 62.22, 300.92°)
OKLaboklab(64.35% 0.0486 -0.1511)
OKLCHoklch(64.35% 0.159 287.8)
XYZxyz(31.8605, 25.0908, 78.7501)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE7 #D7E77A
analogous
#7AA1E7 #8A7AE7 #C17AE7
triadic
#8A7AE7 #E78A7A #7AE78A
tetradic
#8A7AE7 #E77AA1 #D7E77A #7AE7C1
square
#8A7AE7 #E77AA1 #D7E77A #7AE7C1
split-complementary
#8A7AE7 #E7C17A #A1E77A
monochromatic
#3B23C3 #5C46DE #8A7AE7 #B8AEF0 #E5E2FA

Accessibility & contrast

On white

3.49
#8A7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE7#FFFFFF#000000##000000
##8A7AE71.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#7090A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ae7;
/* rgb */ color: rgb(138, 122, 231);
/* oklch */ color: oklch(64.4% 0.159 287.8);
Tailwind
colors: {
  custom: {
    50: '#b0a0ef',
    500: '#8a7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae7;
$custom-light: #b0a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae7",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 248.807,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.15869,
    "h": 287.8
  },
  "luminance": 0.25092
}

Semantic roles & 50–950 ramp

primary
#8A7AE7
secondary
#EAEECF
accent
#D114B6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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