#8A7FE2#8A7FE2

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

Color values

HEX#8A7FE2
RGBrgb(138, 127, 226)
HSLhsl(247, 63%, 69%)
HSVhsv(247, 44%, 89%)
CMYKcmyk(38.9%, 43.8%, 0%, 11.4%)
CIE-LABlab(58.11, 27.67, -49.09)
CIE-LCHlch(58.11, 56.35, 299.41°)
OKLaboklab(64.98% 0.0416 -0.1385)
OKLCHoklch(64.98% 0.145 286.7)
XYZxyz(31.7942, 26.0719, 75.2940)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FE2 #D7E27F
analogous
#7FA6E2 #8A7FE2 #BC7FE2
triadic
#8A7FE2 #E28A7F #7FE28A
tetradic
#8A7FE2 #E27FA6 #D7E27F #7FE2BC
square
#8A7FE2 #E27FA6 #D7E27F #7FE2BC
split-complementary
#8A7FE2 #E2BC7F #A6E27F
monochromatic
#3B2BBC #5C4DD7 #8A7FE2 #B8B1ED #E5E3F9

Accessibility & contrast

On white

3.38
#8A7FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A7FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FE2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FE2#FFFFFF#000000##000000
##8A7FE21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#5A89E0
Tritanopia (blue-blind)
#7293A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7fe2;
/* rgb */ color: rgb(138, 127, 226);
/* oklch */ color: oklch(65.0% 0.145 286.7);
Tailwind
colors: {
  custom: {
    50: '#b0a4eb',
    500: '#8a7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fe2;
$custom-light: #b0a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fe2",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 246.667,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.14463,
    "h": 286.7
  },
  "luminance": 0.26073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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