#8A7DDF#8A7DDF

#8A7DDF is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.4% C 0.143 H 287.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A7DDF
RGBrgb(138, 125, 223)
HSLhsl(248, 60%, 68%)
HSVhsv(248, 44%, 87%)
CMYKcmyk(38.1%, 43.9%, 0%, 12.5%)
CIE-LABlab(57.46, 28.02, -48.44)
CIE-LCHlch(57.46, 55.96, 300.05°)
OKLaboklab(64.44% 0.0438 -0.1366)
OKLCHoklch(64.44% 0.143 287.8)
XYZxyz(31.1305, 25.3972, 73.0597)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DDF #D2DF7D
analogous
#7DA1DF #8A7DDF #BB7DDF
triadic
#8A7DDF #DF8A7D #7DDF8A
tetradic
#8A7DDF #DF7DA1 #D2DF7D #7DDFBB
square
#8A7DDF #DF7DA1 #D2DF7D #7DDFBB
split-complementary
#8A7DDF #DFBB7D #A1DF7D
monochromatic
#3F2DB5 #5E4CD3 #8A7DDF #B6AEEB #E2DFF7

Accessibility & contrast

On white

3.45
#8A7DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A7DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DDF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DDF#FFFFFF#000000##000000
##8A7DDF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#5A87DD
Tritanopia (blue-blind)
#7390A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a7ddf;
/* rgb */ color: rgb(138, 125, 223);
/* oklch */ color: oklch(64.4% 0.143 287.8);
Tailwind
colors: {
  custom: {
    50: '#b0a2e9',
    500: '#8a7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ddf;
$custom-light: #b0a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ddf",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 247.959,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64438,
    "c": 0.14344,
    "h": 287.8
  },
  "luminance": 0.25398
}

Semantic roles & 50–950 ramp

primary
#8A7DDF
secondary
#E7EBCD
accent
#C81DB2
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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