#8A7CED#8A7CED

#8A7CED is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.164 H 286.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A7CED
RGBrgb(138, 124, 237)
HSLhsl(247, 76%, 71%)
HSVhsv(247, 48%, 93%)
CMYKcmyk(41.8%, 47.7%, 0%, 7.1%)
CIE-LABlab(57.97, 32.47, -55.43)
CIE-LCHlch(57.97, 64.24, 300.36°)
OKLaboklab(65.07% 0.0468 -0.1571)
OKLCHoklch(65.07% 0.164 286.6)
XYZxyz(32.9706, 25.9318, 83.3725)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CED #DFED7C
analogous
#7CA6ED #8A7CED #C37CED
triadic
#8A7CED #ED8A7C #7CED8A
tetradic
#8A7CED #ED7CA6 #DFED7C #7CEDC3
square
#8A7CED #ED7CA6 #DFED7C #7CEDC3
split-complementary
#8A7CED #EDC37C #A6ED7C
monochromatic
#331DD2 #5A46E6 #8A7CED #BAB2F4 #E7E4FB

Accessibility & contrast

On white

3.39
#8A7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8A7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CED
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CED#FFFFFF#000000##000000
##8A7CED1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#6D93A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7ced;
/* rgb */ color: rgb(138, 124, 237);
/* oklch */ color: oklch(65.1% 0.164 286.6);
Tailwind
colors: {
  custom: {
    50: '#b1a2f3',
    500: '#8a7ced',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ced;
$custom-light: #b1a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ced",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 247.434,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65068,
    "c": 0.1639,
    "h": 286.6
  },
  "luminance": 0.25933
}

Semantic roles & 50–950 ramp

primary
#8A7CED
secondary
#EEF2D3
accent
#D80DBF
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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