#8A7ECD#8A7ECD

#8A7ECD is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.7% C 0.117 H 289.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A7ECD
RGBrgb(138, 126, 205)
HSLhsl(249, 44%, 65%)
HSVhsv(249, 39%, 80%)
CMYKcmyk(32.7%, 38.5%, 0%, 19.6%)
CIE-LABlab(56.81, 22.60, -39.33)
CIE-LCHlch(56.81, 45.36, 299.88°)
OKLaboklab(63.65% 0.0392 -0.1101)
OKLCHoklch(63.65% 0.117 289.6)
XYZxyz(28.9587, 24.7321, 60.9938)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ECD #C1CD7E
analogous
#7E9ACD #8A7ECD #B27ECD
triadic
#8A7ECD #CD8A7E #7ECD8A
tetradic
#8A7ECD #CD7E9A #C1CD7E #7ECDB2
square
#8A7ECD #CD7E9A #C1CD7E #7ECDB2
split-complementary
#8A7ECD #CDB27E #9ACD7E
monochromatic
#483A96 #6252BC #8A7ECD #B2AADE #DAD6EF

Accessibility & contrast

On white

3.53
#8A7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ECD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ECD#FFFFFF#000000##000000
##8A7ECD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#6687CB
Tritanopia (blue-blind)
#7A8D9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7ecd;
/* rgb */ color: rgb(138, 126, 205);
/* oklch */ color: oklch(63.7% 0.117 289.6);
Tailwind
colors: {
  custom: {
    50: '#aea3dc',
    500: '#8a7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ecd;
$custom-light: #aea3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ecd",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 249.114,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63654,
    "c": 0.11686,
    "h": 289.6
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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