#8A7FCD#8A7FCD

#8A7FCD is a light, moderate blue. Relative luminance 0.250; OKLCH L 63.8% C 0.115 H 289.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A7FCD
RGBrgb(138, 127, 205)
HSLhsl(248, 44%, 65%)
HSVhsv(248, 38%, 80%)
CMYKcmyk(32.7%, 38%, 0%, 19.6%)
CIE-LABlab(57.06, 22.01, -38.93)
CIE-LCHlch(57.06, 44.72, 299.48°)
OKLaboklab(63.85% 0.0379 -0.1089)
OKLCHoklch(63.85% 0.115 289.2)
XYZxyz(29.0872, 24.9891, 61.0366)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FCD #C2CD7F
analogous
#7F9BCD #8A7FCD #B17FCD
triadic
#8A7FCD #CD8A7F #7FCD8A
tetradic
#8A7FCD #CD7F9B #C2CD7F #7FCDB1
square
#8A7FCD #CD7F9B #C2CD7F #7FCDB1
split-complementary
#8A7FCD #CDB17F #9BCD7F
monochromatic
#483B97 #6253BC #8A7FCD #B2ABDE #DAD7EF

Accessibility & contrast

On white

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

On black

6.00
#8A7FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FCD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FCD#FFFFFF#000000##000000
##8A7FCD1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD0
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#7A8D9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7fcd;
/* rgb */ color: rgb(138, 127, 205);
/* oklch */ color: oklch(63.8% 0.115 289.2);
Tailwind
colors: {
  custom: {
    50: '#aea4dc',
    500: '#8a7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fcd;
$custom-light: #aea4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fcd",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 248.462,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63846,
    "c": 0.11533,
    "h": 289.2
  },
  "luminance": 0.2499
}

Semantic roles & 50–950 ramp

primary
#8A7FCD
secondary
#DDE1C7
accent
#B72FA4
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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