#8D7CF5#8D7CF5

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

Color values

HEX#8D7CF5
RGBrgb(141, 124, 245)
HSLhsl(248, 86%, 72%)
HSVhsv(248, 49%, 96%)
CMYKcmyk(42.4%, 49.4%, 0%, 3.9%)
CIE-LABlab(58.67, 35.41, -58.74)
CIE-LCHlch(58.67, 68.59, 301.08°)
OKLaboklab(65.8% 0.0511 -0.1667)
OKLCHoklch(65.8% 0.174 287)
XYZxyz(34.6689, 26.6693, 89.6895)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CF5 #E4F57C
analogous
#7CA7F5 #8D7CF5 #CA7CF5
triadic
#8D7CF5 #F58D7C #7CF58D
tetradic
#8D7CF5 #F57CA7 #E4F57C #7CF5CA
square
#8D7CF5 #F57CA7 #E4F57C #7CF5CA
split-complementary
#8D7CF5 #F5CA7C #A7F57C
monochromatic
#2F11E5 #5C43F1 #8D7CF5 #BEB5F9 #E6E3FD

Accessibility & contrast

On white

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

On black

6.33
#8D7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CF5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CF5#FFFFFF#000000##000000
##8D7CF51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#478AF2
Tritanopia (blue-blind)
#6E95AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7cf5;
/* rgb */ color: rgb(141, 124, 245);
/* oklch */ color: oklch(65.8% 0.174 287.0);
Tailwind
colors: {
  custom: {
    50: '#b3a2f9',
    500: '#8d7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cf5;
$custom-light: #b3a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cf5",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 248.43,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65795,
    "c": 0.17436,
    "h": 287
  },
  "luminance": 0.26671
}

Semantic roles & 50–950 ramp

primary
#8D7CF5
secondary
#F1F5D6
accent
#E203C3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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