#8D74CA#8D74CA

#8D74CA is a mid, vivid violet. Relative luminance 0.224; OKLCH L 61.9% C 0.129 H 295.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D74CA
RGBrgb(141, 116, 202)
HSLhsl(257, 45%, 62%)
HSVhsv(257, 43%, 79%)
CMYKcmyk(30.2%, 42.6%, 0%, 20.8%)
CIE-LABlab(54.47, 28.51, -41.30)
CIE-LCHlch(54.47, 50.19, 304.62°)
OKLaboklab(61.89% 0.056 -0.1157)
OKLCHoklch(61.89% 0.129 295.8)
XYZxyz(27.8880, 22.4174, 58.7234)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74CA #B1CA74
analogous
#7486CA #8D74CA #B874CA
triadic
#8D74CA #CA8D74 #74CA8D
tetradic
#8D74CA #CA7486 #B1CA74 #74CAB8
square
#8D74CA #CA7486 #B1CA74 #74CAB8
split-complementary
#8D74CA #CAB874 #86CA74
monochromatic
#4F368E #6948B9 #8D74CA #B1A0DB #D6CDEC

Accessibility & contrast

On white

3.83
#8D74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8D74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74CA#FFFFFF#000000##000000
##8D74CA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#808495
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d74ca;
/* rgb */ color: rgb(141, 116, 202);
/* oklch */ color: oklch(61.9% 0.129 295.8);
Tailwind
colors: {
  custom: {
    50: '#b09cda',
    500: '#8d74ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d74ca;
$custom-light: #b09cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74ca",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 257.442,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.12855,
    "h": 295.8
  },
  "luminance": 0.22418
}

Semantic roles & 50–950 ramp

primary
#8D74CA
secondary
#D3DDBD
accent
#B82E90
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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