#8D74CD#8D74CD

#8D74CD is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.1% C 0.133 H 295.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D74CD
RGBrgb(141, 116, 205)
HSLhsl(257, 47%, 63%)
HSVhsv(257, 43%, 80%)
CMYKcmyk(31.2%, 43.4%, 0%, 19.6%)
CIE-LABlab(54.62, 29.28, -42.77)
CIE-LCHlch(54.62, 51.83, 304.40°)
OKLaboklab(62.05% 0.0565 -0.12)
OKLCHoklch(62.05% 0.133 295.2)
XYZxyz(28.2466, 22.5609, 60.6123)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74CD #B4CD74
analogous
#7487CD #8D74CD #B974CD
triadic
#8D74CD #CD8D74 #74CD8D
tetradic
#8D74CD #CD7487 #B4CD74 #74CDB9
square
#8D74CD #CD7487 #B4CD74 #74CDB9
split-complementary
#8D74CD #CDB974 #87CD74
monochromatic
#4F3592 #6847BD #8D74CD #B2A1DD #D7CEED

Accessibility & contrast

On white

3.81
#8D74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8D74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74CD#FFFFFF#000000##000000
##8D74CD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#5D81CB
Tritanopia (blue-blind)
#7F8497
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d74cd;
/* rgb */ color: rgb(141, 116, 205);
/* oklch */ color: oklch(62.1% 0.133 295.2);
Tailwind
colors: {
  custom: {
    50: '#b19cdc',
    500: '#8d74cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d74cd;
$custom-light: #b19cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74cd",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 256.854,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62051,
    "c": 0.13262,
    "h": 295.2
  },
  "luminance": 0.22561
}

Semantic roles & 50–950 ramp

primary
#8D74CD
secondary
#D5DEBE
accent
#BA2B92
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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