#8D7FF2#8D7FF2

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

Color values

HEX#8D7FF2
RGBrgb(141, 127, 242)
HSLhsl(247, 82%, 72%)
HSVhsv(247, 48%, 95%)
CMYKcmyk(41.7%, 47.5%, 0%, 5.1%)
CIE-LABlab(59.21, 32.84, -56.22)
CIE-LCHlch(59.21, 65.11, 300.29°)
OKLaboklab(66.15% 0.0472 -0.1593)
OKLCHoklch(66.15% 0.166 286.5)
XYZxyz(34.5963, 27.2510, 87.4243)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FF2 #E4F27F
analogous
#7FABF2 #8D7FF2 #C67FF2
triadic
#8D7FF2 #F28D7F #7FF28D
tetradic
#8D7FF2 #F27FAB #E4F27F #7FF2C6
square
#8D7FF2 #F27FAB #E4F27F #7FF2C6
split-complementary
#8D7FF2 #F2C67F #ABF27F
monochromatic
#2F17E0 #5C47EC #8D7FF2 #BEB7F8 #E6E3FC

Accessibility & contrast

On white

3.26
#8D7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8D7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FF2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FF2#FFFFFF#000000##000000
##8D7FF21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#6F97AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7ff2;
/* rgb */ color: rgb(141, 127, 242);
/* oklch */ color: oklch(66.1% 0.166 286.5);
Tailwind
colors: {
  custom: {
    50: '#b3a4f7',
    500: '#8d7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ff2;
$custom-light: #b3a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ff2",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 247.304,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.16615,
    "h": 286.5
  },
  "luminance": 0.27252
}

Semantic roles & 50–950 ramp

primary
#8D7FF2
secondary
#F1F4D7
accent
#DE08C4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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