#8A7DE3#8A7DE3

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

Color values

HEX#8A7DE3
RGBrgb(138, 125, 227)
HSLhsl(248, 65%, 69%)
HSVhsv(248, 45%, 89%)
CMYKcmyk(39.2%, 44.9%, 0%, 11%)
CIE-LABlab(57.67, 29.11, -50.34)
CIE-LCHlch(57.67, 58.15, 300.04°)
OKLaboklab(64.66% 0.0443 -0.1422)
OKLCHoklch(64.66% 0.149 287.3)
XYZxyz(31.6761, 25.6155, 75.9335)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DE3 #D6E37D
analogous
#7DA3E3 #8A7DE3 #BD7DE3
triadic
#8A7DE3 #E38A7D #7DE38A
tetradic
#8A7DE3 #E37DA3 #D6E37D #7DE3BD
square
#8A7DE3 #E37DA3 #D6E37D #7DE3BD
split-complementary
#8A7DE3 #E3BD7D #A3E37D
monochromatic
#3C29BD #5D4BD8 #8A7DE3 #B7AFEE #E5E2F9

Accessibility & contrast

On white

3.43
#8A7DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8A7DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DE3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DE3#FFFFFF#000000##000000
##8A7DE31.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE7
Deuteranopia (green-blind)
#5788E1
Tritanopia (blue-blind)
#7191A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7de3;
/* rgb */ color: rgb(138, 125, 227);
/* oklch */ color: oklch(64.7% 0.149 287.3);
Tailwind
colors: {
  custom: {
    50: '#b0a2ec',
    500: '#8a7de3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7de3;
$custom-light: #b0a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7de3",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 247.647,
    "s": 64.557,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.14891,
    "h": 287.3
  },
  "luminance": 0.25617
}

Semantic roles & 50–950 ramp

primary
#8A7DE3
secondary
#E9EDCF
accent
#CC19B6
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A7DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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