#8A7DDE#8A7DDE

#8A7DDE is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.4% C 0.142 H 287.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A7DDE
RGBrgb(138, 125, 222)
HSLhsl(248, 60%, 68%)
HSVhsv(248, 44%, 87%)
CMYKcmyk(37.8%, 43.7%, 0%, 12.9%)
CIE-LABlab(57.41, 27.74, -47.96)
CIE-LCHlch(57.41, 55.41, 300.05°)
OKLaboklab(64.38% 0.0436 -0.1352)
OKLCHoklch(64.38% 0.142 287.9)
XYZxyz(30.9960, 25.3435, 72.3517)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DDE #D1DE7D
analogous
#7DA0DE #8A7DDE #BA7DDE
triadic
#8A7DDE #DE8A7D #7DDE8A
tetradic
#8A7DDE #DE7DA0 #D1DE7D #7DDEBA
square
#8A7DDE #DE7DA0 #D1DE7D #7DDEBA
split-complementary
#8A7DDE #DEBA7D #A0DE7D
monochromatic
#3F2DB3 #5E4CD2 #8A7DDE #B6AEEA #E2DFF7

Accessibility & contrast

On white

3.46
#8A7DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8A7DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DDE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DDE#FFFFFF#000000##000000
##8A7DDE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE2
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#7390A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7dde;
/* rgb */ color: rgb(138, 125, 222);
/* oklch */ color: oklch(64.4% 0.142 287.9);
Tailwind
colors: {
  custom: {
    50: '#afa2e9',
    500: '#8a7dde',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dde;
$custom-light: #afa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dde",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 248.041,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64381,
    "c": 0.14206,
    "h": 287.9
  },
  "luminance": 0.25344
}

Semantic roles & 50–950 ramp

primary
#8A7DDE
secondary
#E6EACD
accent
#C71EB1
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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