#8D7CD3#8D7CD3

#8D7CD3 is a light, vivid violet. Relative luminance 0.248; OKLCH L 63.8% C 0.128 H 291.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D7CD3
RGBrgb(141, 124, 211)
HSLhsl(252, 50%, 66%)
HSVhsv(252, 41%, 83%)
CMYKcmyk(33.2%, 41.2%, 0%, 17.3%)
CIE-LABlab(56.86, 26.18, -42.62)
CIE-LCHlch(56.86, 50.02, 301.55°)
OKLaboklab(63.85% 0.0466 -0.1196)
OKLCHoklch(63.85% 0.128 291.3)
XYZxyz(29.9470, 24.7805, 64.8207)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CD3 #C2D37C
analogous
#7C96D3 #8D7CD3 #B87CD3
triadic
#8D7CD3 #D38D7C #7CD38D
tetradic
#8D7CD3 #D37C96 #C2D37C #7CD3B8
square
#8D7CD3 #D37C96 #C2D37C #7CD3B8
split-complementary
#8D7CD3 #D3B87C #96D37C
monochromatic
#4A359F #654EC4 #8D7CD3 #B5AAE2 #DDD8F2

Accessibility & contrast

On white

3.53
#8D7CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8D7CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CD3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CD3#FFFFFF#000000##000000
##8D7CD31.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618AD6
Deuteranopia (green-blind)
#6287D1
Tritanopia (blue-blind)
#7C8C9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7cd3;
/* rgb */ color: rgb(141, 124, 211);
/* oklch */ color: oklch(63.8% 0.128 291.3);
Tailwind
colors: {
  custom: {
    50: '#b1a2e1',
    500: '#8d7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cd3;
$custom-light: #b1a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cd3",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 251.724,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63847,
    "c": 0.12835,
    "h": 291.3
  },
  "luminance": 0.24781
}

Semantic roles & 50–950 ramp

primary
#8D7CD3
secondary
#DEE4C7
accent
#BD28A0
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8D7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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