#8C7DFD#8C7DFD

#8C7DFD is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.4% C 0.184 H 285.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8C7DFD
RGBrgb(140, 125, 253)
HSLhsl(247, 97%, 74%)
HSVhsv(247, 51%, 99%)
CMYKcmyk(44.7%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.28, 36.85, -62.18)
CIE-LCHlch(59.28, 72.28, 300.65°)
OKLaboklab(66.38% 0.0493 -0.1768)
OKLCHoklch(66.38% 0.184 285.6)
XYZxyz(35.8733, 27.3330, 96.2951)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7DFD #EEFD7D
analogous
#7DAEFD #8C7DFD #CC7DFD
triadic
#8C7DFD #FD8C7D #7DFD8C
tetradic
#8C7DFD #FD7DAE #EEFD7D #7DFDCC
square
#8C7DFD #FD7DAE #EEFD7D #7DFDCC
split-complementary
#8C7DFD #FDCC7D #AEFD7D
monochromatic
#2104FB #5741FC #8C7DFD #C1B9FE #E4E1FF

Accessibility & contrast

On white

3.25
#8C7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8C7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C7DFD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C7DFD#FFFFFF#000000##000000
##8C7DFD1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#6898B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8c7dfd;
/* rgb */ color: rgb(140, 125, 253);
/* oklch */ color: oklch(66.4% 0.184 285.6);
Tailwind
colors: {
  custom: {
    50: '#b4a3ff',
    500: '#8c7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8c7dfd;
$custom-light: #b4a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7dfd",
  "rgb": {
    "r": 140,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 247.031,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66384,
    "c": 0.18357,
    "h": 285.6
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#8C7DFD
secondary
#F3F7D4
accent
#E600CB
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8C7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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