#8D7FFB#8D7FFB

#8D7FFB is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.7% C 0.178 H 285.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8D7FFB
RGBrgb(141, 127, 251)
HSLhsl(247, 94%, 74%)
HSVhsv(247, 49%, 98%)
CMYKcmyk(43.8%, 49.4%, 0%, 1.6%)
CIE-LABlab(59.71, 35.36, -60.38)
CIE-LCHlch(59.71, 69.97, 300.35°)
OKLaboklab(66.69% 0.048 -0.1715)
OKLCHoklch(66.69% 0.178 285.6)
XYZxyz(35.9814, 27.8050, 94.7191)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FFB #EDFB7F
analogous
#7FAFFB #8D7FFB #CB7FFB
triadic
#8D7FFB #FB8D7F #7FFB8D
tetradic
#8D7FFB #FB7FAF #EDFB7F #7FFBCB
square
#8D7FFB #FB7FAF #EDFB7F #7FFBCB
split-complementary
#8D7FFB #FBCB7F #AFFB7F
monochromatic
#2308F7 #5844F9 #8D7FFB #C2BAFD #E5E1FE

Accessibility & contrast

On white

3.20
#8D7FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8D7FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FFB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FFB#FFFFFF#000000##000000
##8D7FFB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#6B99B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d7ffb;
/* rgb */ color: rgb(141, 127, 251);
/* oklch */ color: oklch(66.7% 0.178 285.6);
Tailwind
colors: {
  custom: {
    50: '#b4a4fd',
    500: '#8d7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ffb;
$custom-light: #b4a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ffb",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 246.774,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.17811,
    "h": 285.6
  },
  "luminance": 0.27806
}

Semantic roles & 50–950 ramp

primary
#8D7FFB
secondary
#F2F6D5
accent
#E600CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8D7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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