#8D7DD4#8D7DD4

#8D7DD4 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.1% C 0.128 H 290.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D7DD4
RGBrgb(141, 125, 212)
HSLhsl(251, 50%, 66%)
HSVhsv(251, 41%, 83%)
CMYKcmyk(33.5%, 41%, 0%, 16.9%)
CIE-LABlab(57.16, 25.86, -42.72)
CIE-LCHlch(57.16, 49.94, 301.18°)
OKLaboklab(64.09% 0.0455 -0.1199)
OKLCHoklch(64.09% 0.128 290.8)
XYZxyz(30.1987, 25.0827, 65.5250)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DD4 #C4D47D
analogous
#7D98D4 #8D7DD4 #B87DD4
triadic
#8D7DD4 #D48D7D #7DD48D
tetradic
#8D7DD4 #D47D98 #C4D47D #7DD4B8
square
#8D7DD4 #D47D98 #C4D47D #7DD4B8
split-complementary
#8D7DD4 #D4B87D #98D47D
monochromatic
#4935A1 #654FC5 #8D7DD4 #B5ABE3 #DED9F2

Accessibility & contrast

On white

3.49
#8D7DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D7DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DD4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DD4#FFFFFF#000000##000000
##8D7DD41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628BD7
Deuteranopia (green-blind)
#6387D2
Tritanopia (blue-blind)
#7C8D9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d7dd4;
/* rgb */ color: rgb(141, 125, 212);
/* oklch */ color: oklch(64.1% 0.128 290.8);
Tailwind
colors: {
  custom: {
    50: '#b1a2e1',
    500: '#8d7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7dd4;
$custom-light: #b1a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7dd4",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 251.034,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.1282,
    "h": 290.8
  },
  "luminance": 0.25083
}

Semantic roles & 50–950 ramp

primary
#8D7DD4
secondary
#DFE5C8
accent
#BE28A2
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8D7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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