#8D7EF2#8D7EF2

#8D7EF2 is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.0% C 0.168 H 286.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8D7EF2
RGBrgb(141, 126, 242)
HSLhsl(248, 82%, 72%)
HSVhsv(248, 48%, 95%)
CMYKcmyk(41.7%, 47.9%, 0%, 5.1%)
CIE-LABlab(58.97, 33.42, -56.60)
CIE-LCHlch(58.97, 65.73, 300.56°)
OKLaboklab(65.97% 0.0484 -0.1604)
OKLCHoklch(65.97% 0.168 286.8)
XYZxyz(34.4678, 26.9940, 87.3815)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EF2 #E3F27E
analogous
#7EA9F2 #8D7EF2 #C77EF2
triadic
#8D7EF2 #F28D7E #7EF28D
tetradic
#8D7EF2 #F27EA9 #E3F27E #7EF2C7
square
#8D7EF2 #F27EA9 #E3F27E #7EF2C7
split-complementary
#8D7EF2 #F2C77E #A9F27E
monochromatic
#3016DF #5C46EC #8D7EF2 #BEB6F8 #E6E3FC

Accessibility & contrast

On white

3.28
#8D7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8D7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EF2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EF2#FFFFFF#000000##000000
##8D7EF21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#4D8BEF
Tritanopia (blue-blind)
#6F96AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7ef2;
/* rgb */ color: rgb(141, 126, 242);
/* oklch */ color: oklch(66.0% 0.168 286.8);
Tailwind
colors: {
  custom: {
    50: '#b3a3f7',
    500: '#8d7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ef2;
$custom-light: #b3a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ef2",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 247.759,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.16756,
    "h": 286.8
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#8D7EF2
secondary
#F0F4D7
accent
#DE07C2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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