#8D7FD2#8D7FD2

#8D7FD2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.4% C 0.122 H 290.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8D7FD2
RGBrgb(141, 127, 210)
HSLhsl(250, 48%, 66%)
HSVhsv(250, 40%, 82%)
CMYKcmyk(32.9%, 39.5%, 0%, 17.6%)
CIE-LABlab(57.55, 24.16, -40.97)
CIE-LCHlch(57.55, 47.56, 300.53°)
OKLaboklab(64.36% 0.0424 -0.1148)
OKLCHoklch(64.36% 0.122 290.3)
XYZxyz(30.2037, 25.4939, 64.2898)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FD2 #C4D27F
analogous
#7F9AD2 #8D7FD2 #B67FD2
triadic
#8D7FD2 #D28D7F #7FD28D
tetradic
#8D7FD2 #D27F9A #C4D27F #7FD2B6
square
#8D7FD2 #D27F9A #C4D27F #7FD2B6
split-complementary
#8D7FD2 #D2B67F #9AD27F
monochromatic
#49389F #6552C2 #8D7FD2 #B5ACE2 #DEDAF2

Accessibility & contrast

On white

3.44
#8D7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8D7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FD2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FD2#FFFFFF#000000##000000
##8D7FD21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#6688D0
Tritanopia (blue-blind)
#7C8E9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d7fd2;
/* rgb */ color: rgb(141, 127, 210);
/* oklch */ color: oklch(64.4% 0.122 290.3);
Tailwind
colors: {
  custom: {
    50: '#b0a4e0',
    500: '#8d7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fd2;
$custom-light: #b0a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fd2",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 250.12,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.12235,
    "h": 290.3
  },
  "luminance": 0.25495
}

Semantic roles & 50–950 ramp

primary
#8D7FD2
secondary
#DFE4C9
accent
#BB2AA3
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8D7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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