#8A7BDC#8A7BDC

#8A7BDC is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.9% C 0.142 H 288.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A7BDC
RGBrgb(138, 123, 220)
HSLhsl(249, 58%, 67%)
HSVhsv(249, 44%, 86%)
CMYKcmyk(37.3%, 44.1%, 0%, 13.7%)
CIE-LABlab(56.82, 28.37, -47.78)
CIE-LCHlch(56.82, 55.56, 300.70°)
OKLaboklab(63.9% 0.0459 -0.1347)
OKLCHoklch(63.9% 0.142 288.8)
XYZxyz(30.4789, 24.7356, 70.8648)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BDC #CDDC7B
analogous
#7B9DDC #8A7BDC #BA7BDC
triadic
#8A7BDC #DC8A7B #7BDC8A
tetradic
#8A7BDC #DC7B9D #CDDC7B #7BDCBA
square
#8A7BDC #DC7B9D #CDDC7B #7BDCBA
split-complementary
#8A7BDC #DCBA7B #9DDC7B
monochromatic
#422EAE #5F4BCF #8A7BDC #B5ABE9 #E0DCF6

Accessibility & contrast

On white

3.53
#8A7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BDC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BDC#FFFFFF#000000##000000
##8A7BDC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#748EA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7bdc;
/* rgb */ color: rgb(138, 123, 220);
/* oklch */ color: oklch(63.9% 0.142 288.8);
Tailwind
colors: {
  custom: {
    50: '#afa1e7',
    500: '#8a7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bdc;
$custom-light: #afa1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bdc",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 249.278,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.639,
    "c": 0.14227,
    "h": 288.8
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#8A7BDC
secondary
#E4E9CA
accent
#C620AC
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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