#8D74E8#8D74E8

#8D74E8 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.6% C 0.169 H 290.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8D74E8
RGBrgb(141, 116, 232)
HSLhsl(253, 72%, 68%)
HSVhsv(253, 50%, 91%)
CMYKcmyk(39.2%, 50%, 0%, 9%)
CIE-LABlab(56.07, 36.45, -55.68)
CIE-LCHlch(56.07, 66.54, 303.21°)
OKLaboklab(63.61% 0.0597 -0.1577)
OKLCHoklch(63.61% 0.169 290.7)
XYZxyz(31.7914, 23.9788, 79.2816)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74E8 #CFE874
analogous
#7495E8 #8D74E8 #C774E8
triadic
#8D74E8 #E88D74 #74E88D
tetradic
#8D74E8 #E87495 #CFE874 #74E8C7
square
#8D74E8 #E87495 #CFE874 #74E8C7
split-complementary
#8D74E8 #E8C774 #95E874
monochromatic
#4320C2 #623FDF #8D74E8 #B8A9F1 #E3DDF9

Accessibility & contrast

On white

3.62
#8D74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8D74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74E8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74E8#FFFFFF#000000##000000
##8D74E81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EC
Deuteranopia (green-blind)
#4884E5
Tritanopia (blue-blind)
#758CA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d74e8;
/* rgb */ color: rgb(141, 116, 232);
/* oklch */ color: oklch(63.6% 0.169 290.7);
Tailwind
colors: {
  custom: {
    50: '#b39cf0',
    500: '#8d74e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d74e8;
$custom-light: #b39cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74e8",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 252.931,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.16865,
    "h": 290.7
  },
  "luminance": 0.2398
}

Semantic roles & 50–950 ramp

primary
#8D74E8
secondary
#E6EDCA
accent
#D412AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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