#8D7CFA#8D7CFA

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

Color values

HEX#8D7CFA
RGBrgb(141, 124, 250)
HSLhsl(248, 93%, 73%)
HSVhsv(248, 50%, 98%)
CMYKcmyk(43.6%, 50.4%, 0%, 2%)
CIE-LABlab(58.95, 36.81, -61.05)
CIE-LCHlch(58.95, 71.28, 301.09°)
OKLaboklab(66.1% 0.0515 -0.1735)
OKLCHoklch(66.1% 0.181 286.5)
XYZxyz(35.4425, 26.9787, 93.7639)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CFA #E9FA7C
analogous
#7CAAFA #8D7CFA #CC7CFA
triadic
#8D7CFA #FA8D7C #7CFA8D
tetradic
#8D7CFA #FA7CAA #E9FA7C #7CFACC
square
#8D7CFA #FA7CAA #E9FA7C #7CFACC
split-complementary
#8D7CFA #FACC7C #AAFA7C
monochromatic
#2909F2 #5A41F8 #8D7CFA #C0B7FC #E5E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7CFA#FFFFFF#000000##000000
##8D7CFA1.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)
#4391FE
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#6B97AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7cfa;
/* rgb */ color: rgb(141, 124, 250);
/* oklch */ color: oklch(66.1% 0.181 286.5);
Tailwind
colors: {
  custom: {
    50: '#b4a2fd',
    500: '#8d7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cfa;
$custom-light: #b4a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cfa",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 248.095,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66103,
    "c": 0.18094,
    "h": 286.5
  },
  "luminance": 0.2698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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