#8A7CDF#8A7CDF

#8A7CDF is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.145 H 288.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A7CDF
RGBrgb(138, 124, 223)
HSLhsl(248, 61%, 68%)
HSVhsv(248, 44%, 87%)
CMYKcmyk(38.1%, 44.4%, 0%, 12.5%)
CIE-LABlab(57.22, 28.60, -48.82)
CIE-LCHlch(57.22, 56.58, 300.36°)
OKLaboklab(64.25% 0.045 -0.1377)
OKLCHoklch(64.25% 0.145 288.1)
XYZxyz(31.0045, 25.1453, 73.0177)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CDF #D1DF7C
analogous
#7C9FDF #8A7CDF #BB7CDF
triadic
#8A7CDF #DF8A7C #7CDF8A
tetradic
#8A7CDF #DF7C9F #D1DF7C #7CDFBB
square
#8A7CDF #DF7C9F #D1DF7C #7CDFBB
split-complementary
#8A7CDF #DFBB7C #9FDF7C
monochromatic
#3F2CB5 #5E4BD3 #8A7CDF #B6ADEB #E2DEF7

Accessibility & contrast

On white

3.48
#8A7CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8A7CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CDF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CDF#FFFFFF#000000##000000
##8A7CDF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE3
Deuteranopia (green-blind)
#5887DD
Tritanopia (blue-blind)
#738FA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7cdf;
/* rgb */ color: rgb(138, 124, 223);
/* oklch */ color: oklch(64.3% 0.145 288.1);
Tailwind
colors: {
  custom: {
    50: '#b0a2e9',
    500: '#8a7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cdf;
$custom-light: #b0a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cdf",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 248.485,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.1449,
    "h": 288.1
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#8A7CDF
secondary
#E6EBCC
accent
#C81DB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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