#8A7DE0#8A7DE0

#8A7DE0 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.5% C 0.145 H 287.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7DE0
RGBrgb(138, 125, 224)
HSLhsl(248, 61%, 68%)
HSVhsv(248, 44%, 88%)
CMYKcmyk(38.4%, 44.2%, 0%, 12.2%)
CIE-LABlab(57.51, 28.29, -48.91)
CIE-LCHlch(57.51, 56.51, 300.04°)
OKLaboklab(64.49% 0.0439 -0.138)
OKLCHoklch(64.49% 0.145 287.6)
XYZxyz(31.2657, 25.4513, 73.7718)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DE0 #D3E07D
analogous
#7DA1E0 #8A7DE0 #BB7DE0
triadic
#8A7DE0 #E08A7D #7DE08A
tetradic
#8A7DE0 #E07DA1 #D3E07D #7DE0BB
square
#8A7DE0 #E07DA1 #D3E07D #7DE0BB
split-complementary
#8A7DE0 #E0BB7D #A1E07D
monochromatic
#3E2CB7 #5E4CD4 #8A7DE0 #B6AEEC #E3E0F8

Accessibility & contrast

On white

3.45
#8A7DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8A7DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DE0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DE0#FFFFFF#000000##000000
##8A7DE01.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8DE4
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#7390A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7de0;
/* rgb */ color: rgb(138, 125, 224);
/* oklch */ color: oklch(64.5% 0.145 287.6);
Tailwind
colors: {
  custom: {
    50: '#b0a2ea',
    500: '#8a7de0',
    950: '#000000',
  },
}
SCSS
$custom: #8a7de0;
$custom-light: #b0a2ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7de0",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 224
  },
  "hsl": {
    "h": 247.879,
    "s": 61.491,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64494,
    "c": 0.1448,
    "h": 287.6
  },
  "luminance": 0.25452
}

Semantic roles & 50–950 ramp

primary
#8A7DE0
secondary
#E7EBCE
accent
#C91CB2
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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