#8A7FDA#8A7FDA

#8A7FDA is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.5% C 0.134 H 287.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A7FDA
RGBrgb(138, 127, 218)
HSLhsl(247, 55%, 68%)
HSVhsv(247, 42%, 85%)
CMYKcmyk(36.7%, 41.7%, 0%, 14.5%)
CIE-LABlab(57.70, 25.48, -45.26)
CIE-LCHlch(57.70, 51.94, 299.38°)
OKLaboklab(64.53% 0.0404 -0.1273)
OKLCHoklch(64.53% 0.134 287.6)
XYZxyz(30.7220, 25.6431, 69.6470)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FDA #CFDA7F
analogous
#7FA1DA #8A7FDA #B87FDA
triadic
#8A7FDA #DA8A7F #7FDA8A
tetradic
#8A7FDA #DA7FA1 #CFDA7F #7FDAB8
square
#8A7FDA #DA7FA1 #CFDA7F #7FDAB8
split-complementary
#8A7FDA #DAB87F #A1DA7F
monochromatic
#4132AD #5F50CC #8A7FDA #B5AEE8 #E1DEF5

Accessibility & contrast

On white

3.43
#8A7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8A7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FDA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FDA#FFFFFF#000000##000000
##8A7FDA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDD
Deuteranopia (green-blind)
#6088D8
Tritanopia (blue-blind)
#7591A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7fda;
/* rgb */ color: rgb(138, 127, 218);
/* oklch */ color: oklch(64.5% 0.134 287.6);
Tailwind
colors: {
  custom: {
    50: '#afa4e6',
    500: '#8a7fda',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fda;
$custom-light: #afa4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fda",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 247.253,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64533,
    "c": 0.13356,
    "h": 287.6
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#8A7FDA
secondary
#E5E9CC
accent
#C323AF
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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