#8D7CFC#8D7CFC

#8D7CFC is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.2% C 0.184 H 286.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D7CFC
RGBrgb(141, 124, 252)
HSLhsl(248, 96%, 74%)
HSVhsv(248, 51%, 99%)
CMYKcmyk(44%, 50.8%, 0%, 1.2%)
CIE-LABlab(59.07, 37.37, -61.96)
CIE-LCHlch(59.07, 72.36, 301.09°)
OKLaboklab(66.23% 0.0516 -0.1762)
OKLCHoklch(66.23% 0.184 286.3)
XYZxyz(35.7578, 27.1048, 95.4243)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CFC #EBFC7C
analogous
#7CABFC #8D7CFC #CD7CFC
triadic
#8D7CFC #FC8D7C #7CFC8D
tetradic
#8D7CFC #FC7CAB #EBFC7C #7CFCCD
square
#8D7CFC #FC7CAB #EBFC7C #7CFCCD
split-complementary
#8D7CFC #FCCD7C #ABFC7C
monochromatic
#2606F8 #5940FB #8D7CFC #C1B8FD #E5E1FE

Accessibility & contrast

On white

3.27
#8D7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8D7CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CFC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CFC#FFFFFF#000000##000000
##8D7CFC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#3F8BF9
Tritanopia (blue-blind)
#6A97B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7cfc;
/* rgb */ color: rgb(141, 124, 252);
/* oklch */ color: oklch(66.2% 0.184 286.3);
Tailwind
colors: {
  custom: {
    50: '#b4a2fe',
    500: '#8d7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cfc;
$custom-light: #b4a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cfc",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 247.969,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66228,
    "c": 0.18356,
    "h": 286.3
  },
  "luminance": 0.27106
}

Semantic roles & 50–950 ramp

primary
#8D7CFC
secondary
#F2F7D4
accent
#E600C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8D7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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