#8A7FCC#8A7FCC

#8A7FCC is a light, moderate blue. Relative luminance 0.249; OKLCH L 63.8% C 0.114 H 289.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A7FCC
RGBrgb(138, 127, 204)
HSLhsl(249, 43%, 65%)
HSVhsv(249, 38%, 80%)
CMYKcmyk(32.4%, 37.7%, 0%, 20%)
CIE-LABlab(57.02, 21.75, -38.44)
CIE-LCHlch(57.02, 44.17, 299.50°)
OKLaboklab(63.8% 0.0377 -0.1075)
OKLCHoklch(63.8% 0.114 289.3)
XYZxyz(28.9668, 24.9410, 60.4030)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FCC #C1CC7F
analogous
#7F9BCC #8A7FCC #B07FCC
triadic
#8A7FCC #CC8A7F #7FCC8A
tetradic
#8A7FCC #CC7F9B #C1CC7F #7FCCB0
square
#8A7FCC #CC7F9B #C1CC7F #7FCCB0
split-complementary
#8A7FCC #CCB07F #9BCC7F
monochromatic
#483B95 #6253BB #8A7FCC #B2ABDD #DAD7EF

Accessibility & contrast

On white

3.51
#8A7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8A7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FCC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FCC#FFFFFF#000000##000000
##8A7FCC1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#6887CA
Tritanopia (blue-blind)
#7A8D9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7fcc;
/* rgb */ color: rgb(138, 127, 204);
/* oklch */ color: oklch(63.8% 0.114 289.3);
Tailwind
colors: {
  custom: {
    50: '#aea4dc',
    500: '#8a7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fcc;
$custom-light: #aea4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fcc",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 248.571,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.11391,
    "h": 289.3
  },
  "luminance": 0.24942
}

Semantic roles & 50–950 ramp

primary
#8A7FCC
secondary
#DDE1C6
accent
#B62FA3
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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