#8A7FDD#8A7FDD

#8A7FDD is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.7% C 0.138 H 287.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A7FDD
RGBrgb(138, 127, 221)
HSLhsl(247, 58%, 68%)
HSVhsv(247, 43%, 87%)
CMYKcmyk(37.6%, 42.5%, 0%, 13.3%)
CIE-LABlab(57.85, 26.30, -46.70)
CIE-LCHlch(57.85, 53.60, 299.39°)
OKLaboklab(64.7% 0.0409 -0.1315)
OKLCHoklch(64.7% 0.138 287.3)
XYZxyz(31.1182, 25.8015, 71.7332)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FDD #D2DD7F
analogous
#7FA3DD #8A7FDD #B97FDD
triadic
#8A7FDD #DD8A7F #7FDD8A
tetradic
#8A7FDD #DD7FA3 #D2DD7F #7FDDB9
square
#8A7FDD #DD7FA3 #D2DD7F #7FDDB9
split-complementary
#8A7FDD #DDB97F #A3DD7F
monochromatic
#3F2FB2 #5E4FD0 #8A7FDD #B6AFEA #E2E0F7

Accessibility & contrast

On white

3.41
#8A7FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A7FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FDD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FDD#FFFFFF#000000##000000
##8A7FDD1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE1
Deuteranopia (green-blind)
#5E89DB
Tritanopia (blue-blind)
#7491A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7fdd;
/* rgb */ color: rgb(138, 127, 221);
/* oklch */ color: oklch(64.7% 0.138 287.3);
Tailwind
colors: {
  custom: {
    50: '#afa4e8',
    500: '#8a7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7fdd;
$custom-light: #afa4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7fdd",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 247.021,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.13773,
    "h": 287.3
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

primary
#8A7FDD
secondary
#E7EACE
accent
#C620B2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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