#8A7FF1#8A7FF1

#8A7FF1 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.8% C 0.165 H 285.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF1
RGBrgb(138, 127, 241)
HSLhsl(246, 80%, 72%)
HSVhsv(246, 47%, 95%)
CMYKcmyk(42.7%, 47.3%, 0%, 5.5%)
CIE-LABlab(58.91, 31.85, -56.15)
CIE-LCHlch(58.91, 64.56, 299.56°)
OKLaboklab(65.85% 0.0436 -0.1592)
OKLCHoklch(65.85% 0.165 285.3)
XYZxyz(33.9432, 26.9315, 86.6119)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF1 #E6F17F
analogous
#7FADF1 #8A7FF1 #C37FF1
triadic
#8A7FF1 #F18A7F #7FF18A
tetradic
#8A7FF1 #F17FAD #E6F17F #7FF1C3
square
#8A7FF1 #F17FAD #E6F17F #7FF1C3
split-complementary
#8A7FF1 #F1C37F #ADF17F
monochromatic
#2B18DD #5848EB #8A7FF1 #BCB6F7 #E6E3FC

Accessibility & contrast

On white

3.29
#8A7FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8A7FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF1#FFFFFF#000000##000000
##8A7FF11.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#4E8AEE
Tritanopia (blue-blind)
#6A97AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7ff1;
/* rgb */ color: rgb(138, 127, 241);
/* oklch */ color: oklch(65.8% 0.165 285.3);
Tailwind
colors: {
  custom: {
    50: '#b1a4f6',
    500: '#8a7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff1;
$custom-light: #b1a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff1",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 245.789,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65846,
    "c": 0.16504,
    "h": 285.3
  },
  "luminance": 0.26933
}

Semantic roles & 50–950 ramp

primary
#8A7FF1
secondary
#F1F4D7
accent
#DD09C8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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