#8A7FFF#8A7FFF

#8A7FFF is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.7% C 0.184 H 284.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A7FFF
RGBrgb(138, 127, 255)
HSLhsl(245, 100%, 75%)
HSVhsv(245, 50%, 100%)
CMYKcmyk(45.9%, 50.2%, 0%, 0%)
CIE-LABlab(59.71, 35.82, -62.60)
CIE-LCHlch(59.71, 72.13, 299.78°)
OKLaboklab(66.7% 0.0449 -0.1781)
OKLCHoklch(66.7% 0.184 284.1)
XYZxyz(36.1153, 27.8004, 98.0514)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FFF #F4FF7F
analogous
#7FB4FF #8A7FFF #CA7FFF
triadic
#8A7FFF #FF8A7F #7FFF8A
tetradic
#8A7FFF #FF7FB4 #F4FF7F #7FFFCA
square
#8A7FFF #FF7FB4 #F4FF7F #7FFFCA
split-complementary
#8A7FFF #FFCA7F #B4FF7F
monochromatic
#1A05FF #5242FF #8A7FFF #C2BCFF #E3E0FF

Accessibility & contrast

On white

3.20
#8A7FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8A7FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FFF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FFF#FFFFFF#000000##000000
##8A7FFF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#3E8CFC
Tritanopia (blue-blind)
#639AB3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a7fff;
/* rgb */ color: rgb(138, 127, 255);
/* oklch */ color: oklch(66.7% 0.184 284.1);
Tailwind
colors: {
  custom: {
    50: '#b2a4ff',
    500: '#8a7fff',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fff;
$custom-light: #b2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fff",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 245.156,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.66702,
    "c": 0.18367,
    "h": 284.1
  },
  "luminance": 0.27802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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