#8D7CCA#8D7CCA

#8D7CCA is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.4% C 0.116 H 292.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8D7CCA
RGBrgb(141, 124, 202)
HSLhsl(253, 42%, 64%)
HSVhsv(253, 39%, 79%)
CMYKcmyk(30.2%, 38.6%, 0%, 20.8%)
CIE-LABlab(56.43, 23.84, -38.22)
CIE-LCHlch(56.43, 45.04, 301.95°)
OKLaboklab(63.38% 0.0449 -0.1068)
OKLCHoklch(63.38% 0.116 292.8)
XYZxyz(28.8502, 24.3418, 59.0441)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CCA #B9CA7C
analogous
#7C92CA #8D7CCA #B47CCA
triadic
#8D7CCA #CA8D7C #7CCA8D
tetradic
#8D7CCA #CA7C92 #B9CA7C #7CCAB4
square
#8D7CCA #CA7C92 #B9CA7C #7CCAB4
split-complementary
#8D7CCA #CAB47C #92CA7C
monochromatic
#4D3B91 #6750B8 #8D7CCA #B3A8DC #D9D3ED

Accessibility & contrast

On white

3.58
#8D7CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8D7CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CCA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CCA#FFFFFF#000000##000000
##8D7CCA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CD
Deuteranopia (green-blind)
#6786C8
Tritanopia (blue-blind)
#7F8A99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d7cca;
/* rgb */ color: rgb(141, 124, 202);
/* oklch */ color: oklch(63.4% 0.116 292.8);
Tailwind
colors: {
  custom: {
    50: '#b0a2da',
    500: '#8d7cca',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cca;
$custom-light: #b0a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cca",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 202
  },
  "hsl": {
    "h": 253.077,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63377,
    "c": 0.11584,
    "h": 292.8
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#8D7CCA
secondary
#D9DFC3
accent
#B53098
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8D7CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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