#8A7FCE#8A7FCE

#8A7FCE is a light, moderate blue. Relative luminance 0.250; OKLCH L 63.9% C 0.117 H 289.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A7FCE
RGBrgb(138, 127, 206)
HSLhsl(248, 45%, 65%)
HSVhsv(248, 38%, 81%)
CMYKcmyk(33%, 38.3%, 0%, 19.2%)
CIE-LABlab(57.11, 22.27, -39.42)
CIE-LCHlch(57.11, 45.28, 299.46°)
OKLaboklab(63.9% 0.0381 -0.1103)
OKLCHoklch(63.9% 0.117 289)
XYZxyz(29.2083, 25.0375, 61.6744)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FCE #C3CE7F
analogous
#7F9CCE #8A7FCE #B17FCE
triadic
#8A7FCE #CE8A7F #7FCE8A
tetradic
#8A7FCE #CE7F9C #C3CE7F #7FCEB1
square
#8A7FCE #CE7F9C #C3CE7F #7FCEB1
split-complementary
#8A7FCE #CEB17F #9CCE7F
monochromatic
#473A98 #6253BD #8A7FCE #B2ABDF #DBD8F0

Accessibility & contrast

On white

3.50
#8A7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8A7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FCE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FCE#FFFFFF#000000##000000
##8A7FCE1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#798E9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7fce;
/* rgb */ color: rgb(138, 127, 206);
/* oklch */ color: oklch(63.9% 0.117 289.0);
Tailwind
colors: {
  custom: {
    50: '#aea4dd',
    500: '#8a7fce',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fce;
$custom-light: #aea4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fce",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 248.354,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63897,
    "c": 0.11674,
    "h": 289
  },
  "luminance": 0.25038
}

Semantic roles & 50–950 ramp

primary
#8A7FCE
secondary
#DEE2C7
accent
#B82EA5
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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