#8A7DCD#8A7DCD

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

Color values

HEX#8A7DCD
RGBrgb(138, 125, 205)
HSLhsl(250, 44%, 65%)
HSVhsv(250, 39%, 80%)
CMYKcmyk(32.7%, 39%, 0%, 19.6%)
CIE-LABlab(56.56, 23.18, -39.72)
CIE-LCHlch(56.56, 45.99, 300.27°)
OKLaboklab(63.46% 0.0406 -0.1112)
OKLCHoklch(63.46% 0.118 290.1)
XYZxyz(28.8314, 24.4776, 60.9514)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DCD #C0CD7D
analogous
#7D98CD #8A7DCD #B27DCD
triadic
#8A7DCD #CD8A7D #7DCD8A
tetradic
#8A7DCD #CD7D98 #C0CD7D #7DCDB2
square
#8A7DCD #CD7D98 #C0CD7D #7DCDB2
split-complementary
#8A7DCD #CDB27D #98CD7D
monochromatic
#493A96 #6251BC #8A7DCD #B2A9DE #DAD5EF

Accessibility & contrast

On white

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

On black

5.90
#8A7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DCD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DCD#FFFFFF#000000##000000
##8A7DCD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589D0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#7A8C9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7dcd;
/* rgb */ color: rgb(138, 125, 205);
/* oklch */ color: oklch(63.5% 0.118 290.1);
Tailwind
colors: {
  custom: {
    50: '#aea2dc',
    500: '#8a7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dcd;
$custom-light: #aea2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dcd",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 249.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63463,
    "c": 0.11839,
    "h": 290.1
  },
  "luminance": 0.24478
}

Semantic roles & 50–950 ramp

primary
#8A7DCD
secondary
#DCE1C5
accent
#B82EA1
background
#FAFAFD
surface
#F5F3FB
border
#CFCDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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