#8A7CDC#8A7CDC

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

Color values

HEX#8A7CDC
RGBrgb(138, 124, 220)
HSLhsl(249, 58%, 67%)
HSVhsv(249, 44%, 86%)
CMYKcmyk(37.3%, 43.6%, 0%, 13.7%)
CIE-LABlab(57.06, 27.78, -47.39)
CIE-LCHlch(57.06, 54.93, 300.38°)
OKLaboklab(64.08% 0.0446 -0.1335)
OKLCHoklch(64.08% 0.141 288.5)
XYZxyz(30.6036, 24.9850, 70.9064)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CDC #CEDC7C
analogous
#7C9EDC #8A7CDC #BA7CDC
triadic
#8A7CDC #DC8A7C #7CDC8A
tetradic
#8A7CDC #DC7C9E #CEDC7C #7CDCBA
square
#8A7CDC #DC7C9E #CEDC7C #7CDCBA
split-complementary
#8A7CDC #DCBA7C #9EDC7C
monochromatic
#412FAF #5F4CCF #8A7CDC #B5ACE9 #E0DDF6

Accessibility & contrast

On white

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

On black

6.00
#8A7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CDC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CDC#FFFFFF#000000##000000
##8A7CDC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#748FA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7cdc;
/* rgb */ color: rgb(138, 124, 220);
/* oklch */ color: oklch(64.1% 0.141 288.5);
Tailwind
colors: {
  custom: {
    50: '#afa2e7',
    500: '#8a7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cdc;
$custom-light: #afa2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cdc",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 248.75,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.14079,
    "h": 288.5
  },
  "luminance": 0.24986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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