#8D74C8#8D74C8

#8D74C8 is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.8% C 0.126 H 296.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D74C8
RGBrgb(141, 116, 200)
HSLhsl(258, 43%, 62%)
HSVhsv(258, 42%, 78%)
CMYKcmyk(29.5%, 42%, 0%, 21.6%)
CIE-LABlab(54.37, 28.00, -40.32)
CIE-LCHlch(54.37, 49.09, 304.78°)
OKLaboklab(61.78% 0.0556 -0.1129)
OKLCHoklch(61.78% 0.126 296.2)
XYZxyz(27.6527, 22.3233, 57.4843)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74C8 #AFC874
analogous
#7485C8 #8D74C8 #B774C8
triadic
#8D74C8 #C88D74 #74C88D
tetradic
#8D74C8 #C87485 #AFC874 #74C8B7
square
#8D74C8 #C87485 #AFC874 #74C8B7
split-complementary
#8D74C8 #C8B774 #85C874
monochromatic
#50378B #6948B7 #8D74C8 #B1A0D9 #D5CCEB

Accessibility & contrast

On white

3.84
#8D74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8D74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74C8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74C8#FFFFFF#000000##000000
##8D74C81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#818394
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d74c8;
/* rgb */ color: rgb(141, 116, 200);
/* oklch */ color: oklch(61.8% 0.126 296.2);
Tailwind
colors: {
  custom: {
    50: '#b09cd9',
    500: '#8d74c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d74c8;
$custom-light: #b09cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74c8",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 257.857,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.12583,
    "h": 296.2
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#8D74C8
secondary
#D2DBBC
accent
#B62F8E
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #8D74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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