#8D7CF4#8D7CF4

#8D7CF4 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.7% C 0.173 H 287.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D7CF4
RGBrgb(141, 124, 244)
HSLhsl(249, 85%, 72%)
HSVhsv(249, 49%, 96%)
CMYKcmyk(42.2%, 49.2%, 0%, 4.3%)
CIE-LABlab(58.61, 35.13, -58.28)
CIE-LCHlch(58.61, 68.05, 301.08°)
OKLaboklab(65.73% 0.051 -0.1654)
OKLCHoklch(65.73% 0.173 287.1)
XYZxyz(34.5167, 26.6084, 88.8877)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CF4 #E3F47C
analogous
#7CA7F4 #8D7CF4 #C97CF4
triadic
#8D7CF4 #F48D7C #7CF48D
tetradic
#8D7CF4 #F47CA7 #E3F47C #7CF4C9
square
#8D7CF4 #F47CA7 #E3F47C #7CF4C9
split-complementary
#8D7CF4 #F4C97C #A7F47C
monochromatic
#3013E3 #5C44EF #8D7CF4 #BEB4F9 #E6E3FD

Accessibility & contrast

On white

3.32
#8D7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8D7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CF4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CF4#FFFFFF#000000##000000
##8D7CF41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F8
Deuteranopia (green-blind)
#488AF1
Tritanopia (blue-blind)
#6E95AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7cf4;
/* rgb */ color: rgb(141, 124, 244);
/* oklch */ color: oklch(65.7% 0.173 287.1);
Tailwind
colors: {
  custom: {
    50: '#b3a2f8',
    500: '#8d7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cf4;
$custom-light: #b3a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cf4",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 248.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.17304,
    "h": 287.1
  },
  "luminance": 0.2661
}

Semantic roles & 50–950 ramp

primary
#8D7CF4
secondary
#F0F5D6
accent
#E105C2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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