#8D7DD5#8D7DD5

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

Color values

HEX#8D7DD5
RGBrgb(141, 125, 213)
HSLhsl(251, 51%, 66%)
HSVhsv(251, 41%, 84%)
CMYKcmyk(33.8%, 41.3%, 0%, 16.5%)
CIE-LABlab(57.21, 26.12, -43.21)
CIE-LCHlch(57.21, 50.49, 301.15°)
OKLaboklab(64.14% 0.0456 -0.1213)
OKLCHoklch(64.14% 0.13 290.6)
XYZxyz(30.3252, 25.1333, 66.1914)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DD5 #C5D57D
analogous
#7D99D5 #8D7DD5 #B97DD5
triadic
#8D7DD5 #D58D7D #7DD58D
tetradic
#8D7DD5 #D57D99 #C5D57D #7DD5B9
square
#8D7DD5 #D57D99 #C5D57D #7DD5B9
split-complementary
#8D7DD5 #D5B97D #99D57D
monochromatic
#4935A3 #644FC6 #8D7DD5 #B6ABE4 #DEDAF3

Accessibility & contrast

On white

3.48
#8D7DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8D7DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DD5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DD5#FFFFFF#000000##000000
##8D7DD51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#618BD8
Deuteranopia (green-blind)
#6287D3
Tritanopia (blue-blind)
#7B8D9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d7dd5;
/* rgb */ color: rgb(141, 125, 213);
/* oklch */ color: oklch(64.1% 0.130 290.6);
Tailwind
colors: {
  custom: {
    50: '#b1a2e2',
    500: '#8d7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8d7dd5;
$custom-light: #b1a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7dd5",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 250.909,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6414,
    "c": 0.12958,
    "h": 290.6
  },
  "luminance": 0.25134
}

Semantic roles & 50–950 ramp

primary
#8D7DD5
secondary
#E0E5C9
accent
#BF27A3
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8D7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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