#8D7DF3#8D7DF3

#8D7DF3 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.8% C 0.170 H 287.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D7DF3
RGBrgb(141, 125, 243)
HSLhsl(248, 83%, 72%)
HSVhsv(248, 49%, 95%)
CMYKcmyk(42%, 48.6%, 0%, 4.7%)
CIE-LABlab(58.79, 34.27, -57.44)
CIE-LCHlch(58.79, 66.89, 300.82°)
OKLaboklab(65.85% 0.0497 -0.1629)
OKLCHoklch(65.85% 0.17 287)
XYZxyz(34.4912, 26.7997, 88.1322)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DF3 #E3F37D
analogous
#7DA8F3 #8D7DF3 #C87DF3
triadic
#8D7DF3 #F38D7D #7DF38D
tetradic
#8D7DF3 #F37DA8 #E3F37D #7DF3C8
square
#8D7DF3 #F37DA8 #E3F37D #7DF3C8
split-complementary
#8D7DF3 #F3C87D #A8F37D
monochromatic
#3015E1 #5C45EE #8D7DF3 #BEB5F8 #E6E3FC

Accessibility & contrast

On white

3.30
#8D7DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8D7DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DF3
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DF3#FFFFFF#000000##000000
##8D7DF31.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F7
Deuteranopia (green-blind)
#4B8AF0
Tritanopia (blue-blind)
#6F95AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7df3;
/* rgb */ color: rgb(141, 125, 243);
/* oklch */ color: oklch(65.8% 0.170 287.0);
Tailwind
colors: {
  custom: {
    50: '#b3a3f8',
    500: '#8d7df3',
    950: '#000000',
  },
}
SCSS
$custom: #8d7df3;
$custom-light: #b3a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7df3",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 248.136,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.1703,
    "h": 287
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

primary
#8D7DF3
secondary
#F0F4D7
accent
#E006C2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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