#8D7FBC#8D7FBC

#8D7FBC is a light, moderate violet. Relative luminance 0.245; OKLCH L 63.3% C 0.091 H 294.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8D7FBC
RGBrgb(141, 127, 188)
HSLhsl(254, 31%, 62%)
HSVhsv(254, 32%, 74%)
CMYKcmyk(25%, 32.4%, 0%, 26.3%)
CIE-LABlab(56.56, 18.55, -30.05)
CIE-LCHlch(56.56, 35.32, 301.68°)
OKLaboklab(63.27% 0.0374 -0.0833)
OKLCHoklch(63.27% 0.091 294.2)
XYZxyz(27.6488, 24.4720, 50.8341)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FBC #AEBC7F
analogous
#7F90BC #8D7FBC #AC7FBC
triadic
#8D7FBC #BC8D7F #7FBC8D
tetradic
#8D7FBC #BC7F90 #AEBC7F #7FBCAC
square
#8D7FBC #BC7F90 #AEBC7F #7FBCAC
split-complementary
#8D7FBC #BCAC7F #90BC7F
monochromatic
#50427E #6957A7 #8D7FBC #B1A7D1 #D5CFE6

Accessibility & contrast

On white

3.56
#8D7FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7FBC#FFFFFF#000000##000000
##8D7FBC1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BE
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#838995
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7fbc;
/* rgb */ color: rgb(141, 127, 188);
/* oklch */ color: oklch(63.3% 0.091 294.2);
Tailwind
colors: {
  custom: {
    50: '#afa4d0',
    500: '#8d7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fbc;
$custom-light: #afa4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fbc",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 253.77,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63269,
    "c": 0.09127,
    "h": 294.2
  },
  "luminance": 0.24472
}

Semantic roles & 50–950 ramp

primary
#8D7FBC
secondary
#D2D7C0
accent
#AA3B91
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8D7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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