#8A7FE3#8A7FE3

#8A7FE3 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.0% C 0.146 H 286.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A7FE3
RGBrgb(138, 127, 227)
HSLhsl(247, 64%, 69%)
HSVhsv(247, 44%, 89%)
CMYKcmyk(39.2%, 44.1%, 0%, 11%)
CIE-LABlab(58.16, 27.94, -49.57)
CIE-LCHlch(58.16, 56.90, 299.41°)
OKLaboklab(65.03% 0.0418 -0.1399)
OKLCHoklch(65.03% 0.146 286.6)
XYZxyz(31.9319, 26.1270, 76.0187)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FE3 #D8E37F
analogous
#7FA6E3 #8A7FE3 #BC7FE3
triadic
#8A7FE3 #E38A7F #7FE38A
tetradic
#8A7FE3 #E37FA6 #D8E37F #7FE3BC
square
#8A7FE3 #E37FA6 #D8E37F #7FE3BC
split-complementary
#8A7FE3 #E3BC7F #A6E37F
monochromatic
#3A2ABE #5C4DD8 #8A7FE3 #B8B1EE #E6E3F9

Accessibility & contrast

On white

3.37
#8A7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8A7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FE3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FE3#FFFFFF#000000##000000
##8A7FE31.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE7
Deuteranopia (green-blind)
#5989E1
Tritanopia (blue-blind)
#7193A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7fe3;
/* rgb */ color: rgb(138, 127, 227);
/* oklch */ color: oklch(65.0% 0.146 286.6);
Tailwind
colors: {
  custom: {
    50: '#b0a4ec',
    500: '#8a7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fe3;
$custom-light: #b0a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fe3",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 246.6,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65033,
    "c": 0.14601,
    "h": 286.6
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#8A7FE3
secondary
#EAEDD0
accent
#CC1AB8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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