#8A7CD2#8A7CD2

#8A7CD2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.5% C 0.127 H 289.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A7CD2
RGBrgb(138, 124, 210)
HSLhsl(250, 49%, 65%)
HSVhsv(250, 41%, 82%)
CMYKcmyk(34.3%, 41%, 0%, 17.6%)
CIE-LABlab(56.56, 25.09, -42.56)
CIE-LCHlch(56.56, 49.40, 300.52°)
OKLaboklab(63.54% 0.0429 -0.1195)
OKLCHoklch(63.54% 0.127 289.8)
XYZxyz(29.3187, 24.4710, 64.1389)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CD2 #C4D27C
analogous
#7C99D2 #8A7CD2 #B57CD2
triadic
#8A7CD2 #D28A7C #7CD28A
tetradic
#8A7CD2 #D27C99 #C4D27C #7CD2B5
square
#8A7CD2 #D27C99 #C4D27C #7CD2B5
split-complementary
#8A7CD2 #D2B57C #99D27C
monochromatic
#47369D #614EC2 #8A7CD2 #B3AAE2 #DBD7F1

Accessibility & contrast

On white

3.56
#8A7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8A7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CD2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CD2#FFFFFF#000000##000000
##8A7CD21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6189D5
Deuteranopia (green-blind)
#6186D0
Tritanopia (blue-blind)
#788C9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7cd2;
/* rgb */ color: rgb(138, 124, 210);
/* oklch */ color: oklch(63.5% 0.127 289.8);
Tailwind
colors: {
  custom: {
    50: '#afa2e0',
    500: '#8a7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cd2;
$custom-light: #afa2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cd2",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 249.767,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.12693,
    "h": 289.8
  },
  "luminance": 0.24472
}

Semantic roles & 50–950 ramp

primary
#8A7CD2
secondary
#DFE3C6
accent
#BC29A4
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8A7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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