#8A7FD7#8A7FD7

#8A7FD7 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.4% C 0.129 H 287.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A7FD7
RGBrgb(138, 127, 215)
HSLhsl(248, 52%, 67%)
HSVhsv(248, 41%, 84%)
CMYKcmyk(35.8%, 40.9%, 0%, 15.7%)
CIE-LABlab(57.55, 24.67, -43.81)
CIE-LCHlch(57.55, 50.28, 299.39°)
OKLaboklab(64.37% 0.0398 -0.1231)
OKLCHoklch(64.37% 0.129 287.9)
XYZxyz(30.3330, 25.4875, 67.5982)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FD7 #CCD77F
analogous
#7FA0D7 #8A7FD7 #B67FD7
triadic
#8A7FD7 #D78A7F #7FD78A
tetradic
#8A7FD7 #D77FA0 #CCD77F #7FD7B6
square
#8A7FD7 #D77FA0 #CCD77F #7FD7B6
split-complementary
#8A7FD7 #D7B67F #A0D77F
monochromatic
#4334A7 #5F50C8 #8A7FD7 #B5AEE6 #DFDCF4

Accessibility & contrast

On white

3.44
#8A7FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A7FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FD7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FD7#FFFFFF#000000##000000
##8A7FD71.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#6288D5
Tritanopia (blue-blind)
#7690A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7fd7;
/* rgb */ color: rgb(138, 127, 215);
/* oklch */ color: oklch(64.4% 0.129 287.9);
Tailwind
colors: {
  custom: {
    50: '#afa4e4',
    500: '#8a7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fd7;
$custom-light: #afa4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fd7",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 247.5,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64371,
    "c": 0.12938,
    "h": 287.9
  },
  "luminance": 0.25488
}

Semantic roles & 50–950 ramp

primary
#8A7FD7
secondary
#E3E7CB
accent
#C026AD
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8A7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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