#8A7FCF#8A7FCF

#8A7FCF is a light, moderate blue. Relative luminance 0.251; OKLCH L 63.9% C 0.118 H 288.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A7FCF
RGBrgb(138, 127, 207)
HSLhsl(248, 45%, 65%)
HSVhsv(248, 39%, 81%)
CMYKcmyk(33.3%, 38.6%, 0%, 18.8%)
CIE-LABlab(57.16, 22.54, -39.91)
CIE-LCHlch(57.16, 45.84, 299.45°)
OKLaboklab(63.95% 0.0383 -0.1118)
OKLCHoklch(63.95% 0.118 288.9)
XYZxyz(29.3301, 25.0863, 62.3162)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FCF #C4CF7F
analogous
#7F9CCF #8A7FCF #B27FCF
triadic
#8A7FCF #CF8A7F #7FCF8A
tetradic
#8A7FCF #CF7F9C #C4CF7F #7FCFB2
square
#8A7FCF #CF7F9C #C4CF7F #7FCFB2
split-complementary
#8A7FCF #CFB27F #9CCF7F
monochromatic
#473A9A #6152BE #8A7FCF #B3ACE0 #DBD8F0

Accessibility & contrast

On white

3.49
#8A7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FCF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FCF#FFFFFF#000000##000000
##8A7FCF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#798E9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7fcf;
/* rgb */ color: rgb(138, 127, 207);
/* oklch */ color: oklch(63.9% 0.118 288.9);
Tailwind
colors: {
  custom: {
    50: '#aea4de',
    500: '#8a7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fcf;
$custom-light: #aea4de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fcf",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 248.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63949,
    "c": 0.11815,
    "h": 288.9
  },
  "luminance": 0.25087
}

Semantic roles & 50–950 ramp

primary
#8A7FCF
secondary
#DFE2C8
accent
#B92DA5
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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