#8A7FFA#8A7FFA

#8A7FFA is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.4% C 0.177 H 284.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A7FFA
RGBrgb(138, 127, 250)
HSLhsl(245, 92%, 74%)
HSVhsv(245, 49%, 98%)
CMYKcmyk(44.8%, 49.2%, 0%, 2%)
CIE-LABlab(59.42, 34.40, -60.32)
CIE-LCHlch(59.42, 69.43, 299.69°)
OKLaboklab(66.39% 0.0445 -0.1714)
OKLCHoklch(66.39% 0.177 284.5)
XYZxyz(35.3209, 27.4826, 93.8675)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FFA #EFFA7F
analogous
#7FB2FA #8A7FFA #C87FFA
triadic
#8A7FFA #FA8A7F #7FFA8A
tetradic
#8A7FFA #FA7FB2 #EFFA7F #7FFAC8
square
#8A7FFA #FA7FB2 #EFFA7F #7FFAC8
split-complementary
#8A7FFA #FAC87F #B2FA7F
monochromatic
#1F0AF5 #5444F8 #8A7FFA #C0BAFC #E4E2FE

Accessibility & contrast

On white

3.23
#8A7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8A7FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FFA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FFA#FFFFFF#000000##000000
##8A7FFA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#448BF7
Tritanopia (blue-blind)
#6699B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ffa;
/* rgb */ color: rgb(138, 127, 250);
/* oklch */ color: oklch(66.4% 0.177 284.5);
Tailwind
colors: {
  custom: {
    50: '#b2a4fd',
    500: '#8a7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ffa;
$custom-light: #b2a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ffa",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 245.366,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66392,
    "c": 0.17706,
    "h": 284.5
  },
  "luminance": 0.27484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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