#8D74ED#8D74ED

#8D74ED is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.9% C 0.175 H 290.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D74ED
RGBrgb(141, 116, 237)
HSLhsl(252, 77%, 69%)
HSVhsv(252, 51%, 93%)
CMYKcmyk(40.5%, 51.1%, 0%, 7.1%)
CIE-LABlab(56.35, 37.81, -58.01)
CIE-LCHlch(56.35, 69.24, 303.10°)
OKLaboklab(63.92% 0.0601 -0.1646)
OKLCHoklch(63.92% 0.175 290)
XYZxyz(32.5118, 24.2669, 83.0753)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74ED #D4ED74
analogous
#7498ED #8D74ED #CA74ED
triadic
#8D74ED #ED8D74 #74ED8D
tetradic
#8D74ED #ED7498 #D4ED74 #74EDCA
square
#8D74ED #ED7498 #D4ED74 #74EDCA
split-complementary
#8D74ED #EDCA74 #98ED74
monochromatic
#3F1ACC #613EE6 #8D74ED #B9AAF4 #E6E0FB

Accessibility & contrast

On white

3.59
#8D74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74ED
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74ED#FFFFFF#000000##000000
##8D74ED1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F1
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#728DA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d74ed;
/* rgb */ color: rgb(141, 116, 237);
/* oklch */ color: oklch(63.9% 0.175 290.0);
Tailwind
colors: {
  custom: {
    50: '#b39cf3',
    500: '#8d74ed',
    950: '#000000',
  },
}
SCSS
$custom: #8d74ed;
$custom-light: #b39cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74ed",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 252.397,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63918,
    "c": 0.17518,
    "h": 290
  },
  "luminance": 0.24268
}

Semantic roles & 50–950 ramp

primary
#8D74ED
secondary
#E9F0CD
accent
#D90CAF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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