#8A7AE5#8A7AE5

#8A7AE5 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.2% C 0.156 H 288.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A7AE5
RGBrgb(138, 122, 229)
HSLhsl(249, 67%, 69%)
HSVhsv(249, 47%, 90%)
CMYKcmyk(39.7%, 46.7%, 0%, 10.2%)
CIE-LABlab(57.05, 31.42, -52.44)
CIE-LCHlch(57.05, 61.13, 300.93°)
OKLaboklab(64.24% 0.0483 -0.1483)
OKLCHoklch(64.24% 0.156 288.1)
XYZxyz(31.5797, 24.9784, 77.2710)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AE5 #D5E57A
analogous
#7AA0E5 #8A7AE5 #C07AE5
triadic
#8A7AE5 #E58A7A #7AE58A
tetradic
#8A7AE5 #E57AA0 #D5E57A #7AE5C0
square
#8A7AE5 #E57AA0 #D5E57A #7AE5C0
split-complementary
#8A7AE5 #E5C07A #A0E57A
monochromatic
#3C25BF #5D47DB #8A7AE5 #B7ADEF #E4E0F9

Accessibility & contrast

On white

3.50
#8A7AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A7AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AE5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AE5#FFFFFF#000000##000000
##8A7AE51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#5186E3
Tritanopia (blue-blind)
#7190A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ae5;
/* rgb */ color: rgb(138, 122, 229);
/* oklch */ color: oklch(64.2% 0.156 288.1);
Tailwind
colors: {
  custom: {
    50: '#b0a0ee',
    500: '#8a7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ae5;
$custom-light: #b0a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ae5",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 248.972,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.15599,
    "h": 288.1
  },
  "luminance": 0.24979
}

Semantic roles & 50–950 ramp

primary
#8A7AE5
secondary
#E8EDCE
accent
#CF16B4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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