#8A7FF3#8A7FF3

#8A7FF3 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.0% C 0.168 H 285.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF3
RGBrgb(138, 127, 243)
HSLhsl(246, 83%, 73%)
HSVhsv(246, 48%, 95%)
CMYKcmyk(43.2%, 47.7%, 0%, 4.7%)
CIE-LABlab(59.02, 32.41, -57.08)
CIE-LCHlch(59.02, 65.64, 299.59°)
OKLaboklab(65.97% 0.0438 -0.1619)
OKLCHoklch(65.97% 0.168 285.1)
XYZxyz(34.2436, 27.0517, 88.1938)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF3 #E8F37F
analogous
#7FAEF3 #8A7FF3 #C47FF3
triadic
#8A7FF3 #F38A7F #7FF38A
tetradic
#8A7FF3 #F37FAE #E8F37F #7FF3C4
square
#8A7FF3 #F37FAE #E8F37F #7FF3C4
split-complementary
#8A7FF3 #F3C47F #AEF37F
monochromatic
#2915E2 #5747EE #8A7FF3 #BDB7F8 #E5E3FC

Accessibility & contrast

On white

3.28
#8A7FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8A7FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF3#FFFFFF#000000##000000
##8A7FF31.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F7
Deuteranopia (green-blind)
#4C8BF0
Tritanopia (blue-blind)
#6997AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7ff3;
/* rgb */ color: rgb(138, 127, 243);
/* oklch */ color: oklch(66.0% 0.168 285.1);
Tailwind
colors: {
  custom: {
    50: '#b1a4f8',
    500: '#8a7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff3;
$custom-light: #b1a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff3",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 245.69,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65966,
    "c": 0.16773,
    "h": 285.1
  },
  "luminance": 0.27053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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