#8D7DED#8D7DED

#8D7DED is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.5% C 0.162 H 287.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8D7DED
RGBrgb(141, 125, 237)
HSLhsl(249, 76%, 71%)
HSVhsv(249, 47%, 93%)
CMYKcmyk(40.5%, 47.3%, 0%, 7.1%)
CIE-LABlab(58.46, 32.61, -54.65)
CIE-LCHlch(58.46, 63.64, 300.83°)
OKLaboklab(65.49% 0.0491 -0.1547)
OKLCHoklch(65.49% 0.162 287.6)
XYZxyz(33.5999, 26.4432, 83.4381)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DED #DDED7D
analogous
#7DA5ED #8D7DED #C57DED
triadic
#8D7DED #ED8D7D #7DED8D
tetradic
#8D7DED #ED7DA5 #DDED7D #7DEDC5
square
#8D7DED #ED7DA5 #DDED7D #7DEDC5
split-complementary
#8D7DED #EDC57D #A5ED7D
monochromatic
#371DD2 #5E47E6 #8D7DED #BCB3F4 #E7E4FB

Accessibility & contrast

On white

3.34
#8D7DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8D7DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DED
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DED#FFFFFF#000000##000000
##8D7DED1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#7294AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7ded;
/* rgb */ color: rgb(141, 125, 237);
/* oklch */ color: oklch(65.5% 0.162 287.6);
Tailwind
colors: {
  custom: {
    50: '#b3a3f3',
    500: '#8d7ded',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ded;
$custom-light: #b3a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ded",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 248.571,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.1623,
    "h": 287.6
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#8D7DED
secondary
#EEF2D4
accent
#D80EBB
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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