#8A7DCC#8A7DCC

#8A7DCC is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.4% C 0.117 H 290.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A7DCC
RGBrgb(138, 125, 204)
HSLhsl(250, 44%, 65%)
HSVhsv(250, 39%, 80%)
CMYKcmyk(32.4%, 38.7%, 0%, 20%)
CIE-LABlab(56.52, 22.92, -39.23)
CIE-LCHlch(56.52, 45.44, 300.29°)
OKLaboklab(63.41% 0.0404 -0.1098)
OKLCHoklch(63.41% 0.117 290.2)
XYZxyz(28.7111, 24.4295, 60.3177)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DCC #BFCC7D
analogous
#7D98CC #8A7DCC #B17DCC
triadic
#8A7DCC #CC8A7D #7DCC8A
tetradic
#8A7DCC #CC7D98 #BFCC7D #7DCCB1
square
#8A7DCC #CC7D98 #BFCC7D #7DCCB1
split-complementary
#8A7DCC #CCB17D #98CC7D
monochromatic
#493A94 #6251BB #8A7DCC #B2A9DD #D9D5EE

Accessibility & contrast

On white

3.57
#8A7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7DCC#FFFFFF#000000##000000
##8A7DCC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#7A8B9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7dcc;
/* rgb */ color: rgb(138, 125, 204);
/* oklch */ color: oklch(63.4% 0.117 290.2);
Tailwind
colors: {
  custom: {
    50: '#aea2dc',
    500: '#8a7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dcc;
$custom-light: #aea2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dcc",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 249.873,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63411,
    "c": 0.11699,
    "h": 290.2
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#8A7DCC
secondary
#DCE0C5
accent
#B72FA0
background
#FAFAFD
surface
#F5F3FB
border
#CFCDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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