#8A7FFD#8A7FFD

#8A7FFD is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.181 H 284.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A7FFD
RGBrgb(138, 127, 253)
HSLhsl(245, 97%, 75%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(45.5%, 49.8%, 0%, 0.8%)
CIE-LABlab(59.59, 35.25, -61.69)
CIE-LCHlch(59.59, 71.05, 299.74°)
OKLaboklab(66.58% 0.0447 -0.1754)
OKLCHoklch(66.58% 0.181 284.3)
XYZxyz(35.7950, 27.6722, 96.3647)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FFD #F2FD7F
analogous
#7FB3FD #8A7FFD #C97FFD
triadic
#8A7FFD #FD8A7F #7FFD8A
tetradic
#8A7FFD #FD7FB3 #F2FD7F #7FFDC9
square
#8A7FFD #FD7FB3 #F2FD7F #7FFDC9
split-complementary
#8A7FFD #FDC97F #B3FD7F
monochromatic
#1C06FB #5343FC #8A7FFD #C1BBFE #E3E1FF

Accessibility & contrast

On white

3.21
#8A7FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A7FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FFD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FFD#FFFFFF#000000##000000
##8A7FFD1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#418CFA
Tritanopia (blue-blind)
#649AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ffd;
/* rgb */ color: rgb(138, 127, 253);
/* oklch */ color: oklch(66.6% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#b2a4ff',
    500: '#8a7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ffd;
$custom-light: #b2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ffd",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 245.238,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.18104,
    "h": 284.3
  },
  "luminance": 0.27674
}

Semantic roles & 50–950 ramp

primary
#8A7FFD
secondary
#F4F7D4
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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