#8A7CD3#8A7CD3

#8A7CD3 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.6% C 0.128 H 289.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A7CD3
RGBrgb(138, 124, 211)
HSLhsl(250, 50%, 66%)
HSVhsv(250, 41%, 83%)
CMYKcmyk(34.6%, 41.2%, 0%, 17.3%)
CIE-LABlab(56.61, 25.36, -43.04)
CIE-LCHlch(56.61, 49.96, 300.50°)
OKLaboklab(63.59% 0.0431 -0.1209)
OKLCHoklch(63.59% 0.128 289.6)
XYZxyz(29.4436, 24.5210, 64.7971)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CD3 #C5D37C
analogous
#7C99D3 #8A7CD3 #B57CD3
triadic
#8A7CD3 #D38A7C #7CD38A
tetradic
#8A7CD3 #D37C99 #C5D37C #7CD3B5
square
#8A7CD3 #D37C99 #C5D37C #7CD3B5
split-complementary
#8A7CD3 #D3B57C #99D37C
monochromatic
#46359F #614EC4 #8A7CD3 #B3AAE2 #DCD8F2

Accessibility & contrast

On white

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

On black

5.90
#8A7CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CD3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CD3#FFFFFF#000000##000000
##8A7CD31.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#608AD6
Deuteranopia (green-blind)
#6186D1
Tritanopia (blue-blind)
#788C9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a7cd3;
/* rgb */ color: rgb(138, 124, 211);
/* oklch */ color: oklch(63.6% 0.128 289.6);
Tailwind
colors: {
  custom: {
    50: '#afa2e1',
    500: '#8a7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cd3;
$custom-light: #afa2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cd3",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 249.655,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.12832,
    "h": 289.6
  },
  "luminance": 0.24522
}

Semantic roles & 50–950 ramp

primary
#8A7CD3
secondary
#DFE4C7
accent
#BD28A5
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8A7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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