#8A7DE7#8A7DE7

#8A7DE7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.9% C 0.154 H 286.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A7DE7
RGBrgb(138, 125, 231)
HSLhsl(247, 69%, 70%)
HSVhsv(247, 46%, 91%)
CMYKcmyk(40.3%, 45.9%, 0%, 9.4%)
CIE-LABlab(57.88, 30.22, -52.23)
CIE-LCHlch(57.88, 60.35, 300.05°)
OKLaboklab(64.9% 0.0449 -0.1477)
OKLCHoklch(64.9% 0.154 286.9)
XYZxyz(32.2346, 25.8389, 78.8748)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DE7 #DAE77D
analogous
#7DA5E7 #8A7DE7 #BF7DE7
triadic
#8A7DE7 #E78A7D #7DE78A
tetradic
#8A7DE7 #E77DA5 #DAE77D #7DE7BF
square
#8A7DE7 #E77DA5 #DAE77D #7DE7BF
split-complementary
#8A7DE7 #E7BF7D #A5E77D
monochromatic
#3824C5 #5C49DD #8A7DE7 #B8B1F1 #E7E4FA

Accessibility & contrast

On white

3.40
#8A7DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A7DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DE7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DE7#FFFFFF#000000##000000
##8A7DE71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#5488E5
Tritanopia (blue-blind)
#7092A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7de7;
/* rgb */ color: rgb(138, 125, 231);
/* oklch */ color: oklch(64.9% 0.154 286.9);
Tailwind
colors: {
  custom: {
    50: '#b0a2ef',
    500: '#8a7de7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7de7;
$custom-light: #b0a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7de7",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 247.358,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64895,
    "c": 0.15436,
    "h": 286.9
  },
  "luminance": 0.2584
}

Semantic roles & 50–950 ramp

primary
#8A7DE7
secondary
#EBEFD1
accent
#D115BA
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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