#8A7FDC#8A7FDC

#8A7FDC is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.6% C 0.136 H 287.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A7FDC
RGBrgb(138, 127, 220)
HSLhsl(247, 57%, 68%)
HSVhsv(247, 42%, 86%)
CMYKcmyk(37.3%, 42.3%, 0%, 13.7%)
CIE-LABlab(57.80, 26.03, -46.22)
CIE-LCHlch(57.80, 53.05, 299.38°)
OKLaboklab(64.64% 0.0407 -0.1301)
OKLCHoklch(64.64% 0.136 287.4)
XYZxyz(30.9853, 25.7484, 71.0336)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FDC #D1DC7F
analogous
#7FA2DC #8A7FDC #B87FDC
triadic
#8A7FDC #DC8A7F #7FDC8A
tetradic
#8A7FDC #DC7FA2 #D1DC7F #7FDCB8
square
#8A7FDC #DC7FA2 #D1DC7F #7FDCB8
split-complementary
#8A7FDC #DCB87F #A2DC7F
monochromatic
#3F30B0 #5E4FCF #8A7FDC #B6AFE9 #E2DFF6

Accessibility & contrast

On white

3.41
#8A7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8A7FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FDC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FDC#FFFFFF#000000##000000
##8A7FDC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#7491A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7fdc;
/* rgb */ color: rgb(138, 127, 220);
/* oklch */ color: oklch(64.6% 0.136 287.4);
Tailwind
colors: {
  custom: {
    50: '#afa4e7',
    500: '#8a7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fdc;
$custom-light: #afa4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fdc",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 247.097,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64643,
    "c": 0.13634,
    "h": 287.4
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#8A7FDC
secondary
#E6EACD
accent
#C521B1
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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