#8A7DE6#8A7DE6

#8A7DE6 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.153 H 287.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A7DE6
RGBrgb(138, 125, 230)
HSLhsl(247, 68%, 70%)
HSVhsv(247, 46%, 90%)
CMYKcmyk(40%, 45.7%, 0%, 9.8%)
CIE-LABlab(57.83, 29.94, -51.76)
CIE-LCHlch(57.83, 59.80, 300.05°)
OKLaboklab(64.84% 0.0447 -0.1463)
OKLCHoklch(64.84% 0.153 287)
XYZxyz(32.0938, 25.7826, 78.1331)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DE6 #D9E67D
analogous
#7DA4E6 #8A7DE6 #BF7DE6
triadic
#8A7DE6 #E68A7D #7DE68A
tetradic
#8A7DE6 #E67DA4 #D9E67D #7DE6BF
square
#8A7DE6 #E67DA4 #D9E67D #7DE6BF
split-complementary
#8A7DE6 #E6BF7D #A4E67D
monochromatic
#3926C3 #5C4ADC #8A7DE6 #B8B0F0 #E6E4FA

Accessibility & contrast

On white

3.41
#8A7DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A7DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DE6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DE6#FFFFFF#000000##000000
##8A7DE61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEA
Deuteranopia (green-blind)
#5488E4
Tritanopia (blue-blind)
#7092A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7de6;
/* rgb */ color: rgb(138, 125, 230);
/* oklch */ color: oklch(64.8% 0.153 287.0);
Tailwind
colors: {
  custom: {
    50: '#b0a2ee',
    500: '#8a7de6',
    950: '#000000',
  },
}
SCSS
$custom: #8a7de6;
$custom-light: #b0a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7de6",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 247.429,
    "s": 67.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64837,
    "c": 0.153,
    "h": 287
  },
  "luminance": 0.25784
}

Semantic roles & 50–950 ramp

primary
#8A7DE6
secondary
#EBEED0
accent
#D016B9
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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