#8A7DCE#8A7DCE

#8A7DCE is a light, moderate blue. Relative luminance 0.245; OKLCH L 63.5% C 0.120 H 289.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A7DCE
RGBrgb(138, 125, 206)
HSLhsl(250, 45%, 65%)
HSVhsv(250, 39%, 81%)
CMYKcmyk(33%, 39.3%, 0%, 19.2%)
CIE-LABlab(56.61, 23.45, -40.21)
CIE-LCHlch(56.61, 46.55, 300.24°)
OKLaboklab(63.52% 0.0408 -0.1126)
OKLCHoklch(63.52% 0.12 289.9)
XYZxyz(28.9525, 24.5261, 61.5891)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DCE #C1CE7D
analogous
#7D98CE #8A7DCE #B37DCE
triadic
#8A7DCE #CE8A7D #7DCE8A
tetradic
#8A7DCE #CE7D98 #C1CE7D #7DCEB3
square
#8A7DCE #CE7D98 #C1CE7D #7DCEB3
split-complementary
#8A7DCE #CEB37D #98CE7D
monochromatic
#483997 #6251BD #8A7DCE #B2A9DF #DAD6F0

Accessibility & contrast

On white

3.56
#8A7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DCE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DCE#FFFFFF#000000##000000
##8A7DCE1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D1
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#7A8C9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7dce;
/* rgb */ color: rgb(138, 125, 206);
/* oklch */ color: oklch(63.5% 0.120 289.9);
Tailwind
colors: {
  custom: {
    50: '#aea2dd',
    500: '#8a7dce',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dce;
$custom-light: #aea2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dce",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 249.63,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.1198,
    "h": 289.9
  },
  "luminance": 0.24527
}

Semantic roles & 50–950 ramp

primary
#8A7DCE
secondary
#DDE1C6
accent
#B82DA2
background
#FAFAFD
surface
#F5F3FB
border
#CFCDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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