#8D7CD2#8D7CD2

#8D7CD2 is a light, vivid violet. Relative luminance 0.247; OKLCH L 63.8% C 0.127 H 291.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D7CD2
RGBrgb(141, 124, 210)
HSLhsl(252, 49%, 65%)
HSVhsv(252, 41%, 82%)
CMYKcmyk(32.9%, 41%, 0%, 17.6%)
CIE-LABlab(56.81, 25.91, -42.14)
CIE-LCHlch(56.81, 49.47, 301.59°)
OKLaboklab(63.79% 0.0465 -0.1182)
OKLCHoklch(63.79% 0.127 291.5)
XYZxyz(29.8220, 24.7305, 64.1625)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CD2 #C1D27C
analogous
#7C96D2 #8D7CD2 #B87CD2
triadic
#8D7CD2 #D28D7C #7CD28D
tetradic
#8D7CD2 #D27C96 #C1D27C #7CD2B8
square
#8D7CD2 #D27C96 #C1D27C #7CD2B8
split-complementary
#8D7CD2 #D2B87C #96D27C
monochromatic
#4B369D #654EC2 #8D7CD2 #B5AAE2 #DCD7F1

Accessibility & contrast

On white

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

On black

5.95
#8D7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CD2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CD2#FFFFFF#000000##000000
##8D7CD21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618AD5
Deuteranopia (green-blind)
#6387D0
Tritanopia (blue-blind)
#7D8C9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7cd2;
/* rgb */ color: rgb(141, 124, 210);
/* oklch */ color: oklch(63.8% 0.127 291.5);
Tailwind
colors: {
  custom: {
    50: '#b1a2e0',
    500: '#8d7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cd2;
$custom-light: #b1a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cd2",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 251.86,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63794,
    "c": 0.12697,
    "h": 291.5
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#8D7CD2
secondary
#DEE3C6
accent
#BC299F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #8D7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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