#8A7ED2#8A7ED2

#8A7ED2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.9% C 0.124 H 288.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A7ED2
RGBrgb(138, 126, 210)
HSLhsl(249, 48%, 66%)
HSVhsv(249, 40%, 82%)
CMYKcmyk(34.3%, 40%, 0%, 17.6%)
CIE-LABlab(57.05, 23.92, -41.77)
CIE-LCHlch(57.05, 48.14, 299.80°)
OKLaboklab(63.92% 0.0402 -0.1172)
OKLCHoklch(63.92% 0.124 288.9)
XYZxyz(29.5719, 24.9774, 64.2233)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ED2 #C6D27E
analogous
#7E9CD2 #8A7ED2 #B47ED2
triadic
#8A7ED2 #D28A7E #7ED28A
tetradic
#8A7ED2 #D27E9C #C6D27E #7ED2B4
square
#8A7ED2 #D27E9C #C6D27E #7ED2B4
split-complementary
#8A7ED2 #D2B47E #9CD27E
monochromatic
#46379E #6151C2 #8A7ED2 #B3ABE2 #DCD9F2

Accessibility & contrast

On white

3.50
#8A7ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A7ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ED2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ED2#FFFFFF#000000##000000
##8A7ED21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD5
Deuteranopia (green-blind)
#6387D0
Tritanopia (blue-blind)
#788E9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7ed2;
/* rgb */ color: rgb(138, 126, 210);
/* oklch */ color: oklch(63.9% 0.124 288.9);
Tailwind
colors: {
  custom: {
    50: '#afa3e0',
    500: '#8a7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ed2;
$custom-light: #afa3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ed2",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 248.571,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63915,
    "c": 0.12389,
    "h": 288.9
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#8A7ED2
secondary
#E0E4C8
accent
#BC2AA7
background
#FAFAFD
surface
#F5F3FB
border
#CFCDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8A7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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