#8D7DCA#8D7DCA

#8D7DCA is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.6% C 0.114 H 292.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8D7DCA
RGBrgb(141, 125, 202)
HSLhsl(252, 42%, 64%)
HSVhsv(252, 38%, 79%)
CMYKcmyk(30.2%, 38.1%, 0%, 20.8%)
CIE-LABlab(56.68, 23.25, -37.83)
CIE-LCHlch(56.68, 44.40, 301.58°)
OKLaboklab(63.57% 0.0435 -0.1056)
OKLCHoklch(63.57% 0.114 292.4)
XYZxyz(28.9761, 24.5937, 59.0861)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DCA #BACA7D
analogous
#7D94CA #8D7DCA #B47DCA
triadic
#8D7DCA #CA8D7D #7DCA8D
tetradic
#8D7DCA #CA7D94 #BACA7D #7DCAB4
square
#8D7DCA #CA7D94 #BACA7D #7DCAB4
split-complementary
#8D7DCA #CAB47D #94CA7D
monochromatic
#4D3B91 #6752B8 #8D7DCA #B3A8DC #D9D4ED

Accessibility & contrast

On white

3.55
#8D7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8D7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DCA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DCA#FFFFFF#000000##000000
##8D7DCA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#6887C8
Tritanopia (blue-blind)
#7F8B9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7dca;
/* rgb */ color: rgb(141, 125, 202);
/* oklch */ color: oklch(63.6% 0.114 292.4);
Tailwind
colors: {
  custom: {
    50: '#b0a2da',
    500: '#8d7dca',
    950: '#000000',
  },
}
SCSS
$custom: #8d7dca;
$custom-light: #b0a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7dca",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 252.468,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63566,
    "c": 0.11426,
    "h": 292.4
  },
  "luminance": 0.24594
}

Semantic roles & 50–950 ramp

primary
#8D7DCA
secondary
#D9DFC4
accent
#B5309A
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8D7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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