#8D7FBB#8D7FBB

#8D7FBB is a light, moderate violet. Relative luminance 0.244; OKLCH L 63.2% C 0.090 H 294.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8D7FBB
RGBrgb(141, 127, 187)
HSLhsl(254, 31%, 62%)
HSVhsv(254, 32%, 73%)
CMYKcmyk(24.6%, 32.1%, 0%, 26.7%)
CIE-LABlab(56.51, 18.30, -29.55)
CIE-LCHlch(56.51, 34.76, 301.77°)
OKLaboklab(63.22% 0.0371 -0.0818)
OKLCHoklch(63.22% 0.09 294.4)
XYZxyz(27.5414, 24.4290, 50.2683)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FBB #ADBB7F
analogous
#7F8FBB #8D7FBB #AB7FBB
triadic
#8D7FBB #BB8D7F #7FBB8D
tetradic
#8D7FBB #BB7F8F #ADBB7F #7FBBAB
square
#8D7FBB #BB7F8F #ADBB7F #7FBBAB
split-complementary
#8D7FBB #BBAB7F #8FBB7F
monochromatic
#50427D #6A58A5 #8D7FBB #B1A7D0 #D4CFE5

Accessibility & contrast

On white

3.57
#8D7FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8D7FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FBB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FBB#FFFFFF#000000##000000
##8D7FBB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#848995
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7fbb;
/* rgb */ color: rgb(141, 127, 187);
/* oklch */ color: oklch(63.2% 0.090 294.4);
Tailwind
colors: {
  custom: {
    50: '#afa4cf',
    500: '#8d7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fbb;
$custom-light: #afa4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fbb",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 254,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63223,
    "c": 0.08984,
    "h": 294.4
  },
  "luminance": 0.24429
}

Semantic roles & 50–950 ramp

primary
#8D7FBB
secondary
#D1D6C0
accent
#A93C90
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8D7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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