#8A7FFE#8A7FFE

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

Color values

HEX#8A7FFE
RGBrgb(138, 127, 254)
HSLhsl(245, 98%, 75%)
HSVhsv(245, 50%, 100%)
CMYKcmyk(45.7%, 50%, 0%, 0.4%)
CIE-LABlab(59.65, 35.54, -62.15)
CIE-LCHlch(59.65, 71.59, 299.76°)
OKLaboklab(66.64% 0.0448 -0.1768)
OKLCHoklch(66.64% 0.182 284.2)
XYZxyz(35.9547, 27.7361, 97.2058)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FFE #F3FE7F
analogous
#7FB3FE #8A7FFE #CA7FFE
triadic
#8A7FFE #FE8A7F #7FFE8A
tetradic
#8A7FFE #FE7FB3 #F3FE7F #7FFECA
square
#8A7FFE #FE7FB3 #F3FE7F #7FFECA
split-complementary
#8A7FFE #FECA7F #B3FE7F
monochromatic
#1B06FD #5242FE #8A7FFE #C2BCFE #E3E1FF

Accessibility & contrast

On white

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

On black

6.55
#8A7FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FFE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FFE#FFFFFF#000000##000000
##8A7FFE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7ffe;
/* rgb */ color: rgb(138, 127, 254);
/* oklch */ color: oklch(66.6% 0.182 284.2);
Tailwind
colors: {
  custom: {
    50: '#b2a4ff',
    500: '#8a7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ffe;
$custom-light: #b2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ffe",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 245.197,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.6664,
    "c": 0.18235,
    "h": 284.2
  },
  "luminance": 0.27738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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