#8D74DD#8D74DD

#8D74DD is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.0% C 0.154 H 292.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D74DD
RGBrgb(141, 116, 221)
HSLhsl(254, 61%, 66%)
HSVhsv(254, 48%, 87%)
CMYKcmyk(36.2%, 47.5%, 0%, 13.3%)
CIE-LABlab(55.45, 33.48, -50.49)
CIE-LCHlch(55.45, 60.58, 303.55°)
OKLaboklab(62.95% 0.0586 -0.1425)
OKLCHoklch(62.95% 0.154 292.4)
XYZxyz(30.2776, 23.3733, 71.3089)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74DD #C4DD74
analogous
#748FDD #8D74DD #C174DD
triadic
#8D74DD #DD8D74 #74DD8D
tetradic
#8D74DD #DD748F #C4DD74 #74DDC1
square
#8D74DD #DD748F #C4DD74 #74DDC1
split-complementary
#8D74DD #DDC174 #8FDD74
monochromatic
#492AAC #6543D1 #8D74DD #B5A5E9 #DED6F5

Accessibility & contrast

On white

3.70
#8D74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8D74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74DD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74DD#FFFFFF#000000##000000
##8D74DD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E1
Deuteranopia (green-blind)
#5183DB
Tritanopia (blue-blind)
#79899E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d74dd;
/* rgb */ color: rgb(141, 116, 221);
/* oklch */ color: oklch(63.0% 0.154 292.4);
Tailwind
colors: {
  custom: {
    50: '#b29ce8',
    500: '#8d74dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d74dd;
$custom-light: #b29ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74dd",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 254.286,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62954,
    "c": 0.15412,
    "h": 292.4
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#8D74DD
secondary
#DFE8C5
accent
#C81DA0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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