#8A7FCA#8A7FCA

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

Color values

HEX#8A7FCA
RGBrgb(138, 127, 202)
HSLhsl(249, 41%, 65%)
HSVhsv(249, 37%, 79%)
CMYKcmyk(31.7%, 37.1%, 0%, 20.8%)
CIE-LABlab(56.92, 21.22, -37.46)
CIE-LCHlch(56.92, 43.05, 299.54°)
OKLaboklab(63.69% 0.0372 -0.1046)
OKLCHoklch(63.69% 0.111 289.6)
XYZxyz(28.7285, 24.8456, 59.1477)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FCA #BFCA7F
analogous
#7F9ACA #8A7FCA #B07FCA
triadic
#8A7FCA #CA8A7F #7FCA8A
tetradic
#8A7FCA #CA7F9A #BFCA7F #7FCAB0
square
#8A7FCA #CA7F9A #BFCA7F #7FCAB0
split-complementary
#8A7FCA #CAB07F #9ACA7F
monochromatic
#493C92 #6254B8 #8A7FCA #B2AADC #D9D6EE

Accessibility & contrast

On white

3.52
#8A7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FCA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FCA#FFFFFF#000000##000000
##8A7FCA1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#7B8D9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7fca;
/* rgb */ color: rgb(138, 127, 202);
/* oklch */ color: oklch(63.7% 0.111 289.6);
Tailwind
colors: {
  custom: {
    50: '#aea4da',
    500: '#8a7fca',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fca;
$custom-light: #aea4da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fca",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 248.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63693,
    "c": 0.11108,
    "h": 289.6
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#8A7FCA
secondary
#DCDFC5
accent
#B431A1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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