#8A7ADD#8A7ADD

#8A7ADD is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.8% C 0.145 H 289.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A7ADD
RGBrgb(138, 122, 221)
HSLhsl(250, 59%, 67%)
HSVhsv(250, 45%, 87%)
CMYKcmyk(37.6%, 44.8%, 0%, 13.3%)
CIE-LABlab(56.63, 29.23, -48.64)
CIE-LCHlch(56.63, 56.74, 301.00°)
OKLaboklab(63.77% 0.0473 -0.1372)
OKLCHoklch(63.77% 0.145 289)
XYZxyz(30.4884, 24.5419, 71.5233)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7ADD #CDDD7A
analogous
#7A9CDD #8A7ADD #BC7ADD
triadic
#8A7ADD #DD8A7A #7ADD8A
tetradic
#8A7ADD #DD7A9C #CDDD7A #7ADDBC
square
#8A7ADD #DD7A9C #CDDD7A #7ADDBC
split-complementary
#8A7ADD #DDBC7A #9CDD7A
monochromatic
#422DB0 #5F49D1 #8A7ADD #B5ABE9 #E0DBF6

Accessibility & contrast

On white

3.55
#8A7ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A7ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7ADD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7ADD#FFFFFF#000000##000000
##8A7ADD1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#5785DB
Tritanopia (blue-blind)
#748DA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7add;
/* rgb */ color: rgb(138, 122, 221);
/* oklch */ color: oklch(63.8% 0.145 289.0);
Tailwind
colors: {
  custom: {
    50: '#b0a0e8',
    500: '#8a7add',
    950: '#000000',
  },
}
SCSS
$custom: #8a7add;
$custom-light: #b0a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7add",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 249.697,
    "s": 59.281,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63773,
    "c": 0.14512,
    "h": 289
  },
  "luminance": 0.24543
}

Semantic roles & 50–950 ramp

primary
#8A7ADD
secondary
#E4E9CA
accent
#C71FAC
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A7ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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