#8A7CDD#8A7CDD

#8A7CDD is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.1% C 0.142 H 288.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A7CDD
RGBrgb(138, 124, 221)
HSLhsl(249, 59%, 68%)
HSVhsv(249, 44%, 87%)
CMYKcmyk(37.6%, 43.9%, 0%, 13.3%)
CIE-LABlab(57.11, 28.06, -47.87)
CIE-LCHlch(57.11, 55.48, 300.37°)
OKLaboklab(64.14% 0.0447 -0.1349)
OKLCHoklch(64.14% 0.142 288.3)
XYZxyz(30.7365, 25.0381, 71.6060)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CDD #CFDD7C
analogous
#7C9EDD #8A7CDD #BB7CDD
triadic
#8A7CDD #DD8A7C #7CDD8A
tetradic
#8A7CDD #DD7C9E #CFDD7C #7CDDBB
square
#8A7CDD #DD7C9E #CFDD7C #7CDDBB
split-complementary
#8A7CDD #DDBB7C #9EDD7C
monochromatic
#412EB1 #5F4BD0 #8A7CDD #B5ADEA #E1DDF6

Accessibility & contrast

On white

3.50
#8A7CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8A7CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CDD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CDD#FFFFFF#000000##000000
##8A7CDD1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#5A87DB
Tritanopia (blue-blind)
#748FA2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7cdd;
/* rgb */ color: rgb(138, 124, 221);
/* oklch */ color: oklch(64.1% 0.142 288.3);
Tailwind
colors: {
  custom: {
    50: '#afa2e8',
    500: '#8a7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cdd;
$custom-light: #afa2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cdd",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 248.66,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6414,
    "c": 0.14216,
    "h": 288.3
  },
  "luminance": 0.25039
}

Semantic roles & 50–950 ramp

primary
#8A7CDD
secondary
#E5E9CB
accent
#C61FAE
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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