#8A7CDB#8A7CDB

#8A7CDB is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.139 H 288.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A7CDB
RGBrgb(138, 124, 219)
HSLhsl(249, 57%, 67%)
HSVhsv(249, 43%, 86%)
CMYKcmyk(37%, 43.4%, 0%, 14.1%)
CIE-LABlab(57.01, 27.51, -46.91)
CIE-LCHlch(57.01, 54.38, 300.39°)
OKLaboklab(64.03% 0.0444 -0.1321)
OKLCHoklch(64.03% 0.139 288.6)
XYZxyz(30.4716, 24.9322, 70.2110)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CDB #CDDB7C
analogous
#7C9EDB #8A7CDB #B97CDB
triadic
#8A7CDB #DB8A7C #7CDB8A
tetradic
#8A7CDB #DB7C9E #CDDB7C #7CDBB9
square
#8A7CDB #DB7C9E #CDDB7C #7CDBB9
split-complementary
#8A7CDB #DBB97C #9EDB7C
monochromatic
#4230AD #5F4CCE #8A7CDB #B5ACE8 #E0DCF5

Accessibility & contrast

On white

3.51
#8A7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8A7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CDB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CDB#FFFFFF#000000##000000
##8A7CDB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDF
Deuteranopia (green-blind)
#5B86D9
Tritanopia (blue-blind)
#758EA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7cdb;
/* rgb */ color: rgb(138, 124, 219);
/* oklch */ color: oklch(64.0% 0.139 288.6);
Tailwind
colors: {
  custom: {
    50: '#afa2e6',
    500: '#8a7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cdb;
$custom-light: #afa2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cdb",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 248.842,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64029,
    "c": 0.13941,
    "h": 288.6
  },
  "luminance": 0.24933
}

Semantic roles & 50–950 ramp

primary
#8A7CDB
secondary
#E4E8CA
accent
#C421AC
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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