#8A7DED#8A7DED

#8A7DED is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.2% C 0.162 H 286.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A7DED
RGBrgb(138, 125, 237)
HSLhsl(247, 76%, 71%)
HSVhsv(247, 47%, 93%)
CMYKcmyk(41.8%, 47.3%, 0%, 7.1%)
CIE-LABlab(58.21, 31.89, -55.05)
CIE-LCHlch(58.21, 63.62, 300.08°)
OKLaboklab(65.25% 0.0456 -0.156)
OKLCHoklch(65.25% 0.162 286.3)
XYZxyz(33.0966, 26.1837, 83.4145)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DED #E0ED7D
analogous
#7DA8ED #8A7DED #C27DED
triadic
#8A7DED #ED8A7D #7DED8A
tetradic
#8A7DED #ED7DA8 #E0ED7D #7DEDC2
square
#8A7DED #ED7DA8 #E0ED7D #7DEDC2
split-complementary
#8A7DED #EDC27D #A8ED7D
monochromatic
#321DD2 #5A47E6 #8A7DED #BAB3F4 #E7E4FB

Accessibility & contrast

On white

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

On black

6.24
#8A7DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DED
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DED#FFFFFF#000000##000000
##8A7DED1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#4E89EA
Tritanopia (blue-blind)
#6D94AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a7ded;
/* rgb */ color: rgb(138, 125, 237);
/* oklch */ color: oklch(65.2% 0.162 286.3);
Tailwind
colors: {
  custom: {
    50: '#b1a2f3',
    500: '#8a7ded',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ded;
$custom-light: #b1a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ded",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 246.964,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.16248,
    "h": 286.3
  },
  "luminance": 0.26185
}

Semantic roles & 50–950 ramp

primary
#8A7DED
secondary
#EEF2D4
accent
#D80EC0
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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