#8A7CDA#8A7CDA

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

Color values

HEX#8A7CDA
RGBrgb(138, 124, 218)
HSLhsl(249, 56%, 67%)
HSVhsv(249, 43%, 85%)
CMYKcmyk(36.7%, 43.1%, 0%, 14.5%)
CIE-LABlab(56.96, 27.24, -46.43)
CIE-LCHlch(56.96, 53.83, 300.40°)
OKLaboklab(63.97% 0.0443 -0.1307)
OKLCHoklch(63.97% 0.138 288.7)
XYZxyz(30.3403, 24.8797, 69.5198)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CDA #CCDA7C
analogous
#7C9DDA #8A7CDA #B97CDA
triadic
#8A7CDA #DA8A7C #7CDA8A
tetradic
#8A7CDA #DA7C9D #CCDA7C #7CDAB9
square
#8A7CDA #DA7C9D #CCDA7C #7CDAB9
split-complementary
#8A7CDA #DAB97C #9DDA7C
monochromatic
#4330AB #5F4CCD #8A7CDA #B5ACE7 #DFDBF5

Accessibility & contrast

On white

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

On black

5.98
#8A7CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CDA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CDA#FFFFFF#000000##000000
##8A7CDA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDE
Deuteranopia (green-blind)
#5C86D8
Tritanopia (blue-blind)
#758EA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7cda;
/* rgb */ color: rgb(138, 124, 218);
/* oklch */ color: oklch(64.0% 0.138 288.7);
Tailwind
colors: {
  custom: {
    50: '#afa2e6',
    500: '#8a7cda',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cda;
$custom-light: #afa2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cda",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 248.936,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63973,
    "c": 0.13802,
    "h": 288.7
  },
  "luminance": 0.24881
}

Semantic roles & 50–950 ramp

primary
#8A7CDA
secondary
#E3E8CA
accent
#C322AB
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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