#8D74EA#8D74EA

#8D74EA is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.7% C 0.171 H 290.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D74EA
RGBrgb(141, 116, 234)
HSLhsl(253, 74%, 69%)
HSVhsv(253, 50%, 92%)
CMYKcmyk(39.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(56.18, 36.99, -56.61)
CIE-LCHlch(56.18, 67.62, 303.16°)
OKLaboklab(63.73% 0.0598 -0.1605)
OKLCHoklch(63.73% 0.171 290.4)
XYZxyz(32.0771, 24.0931, 80.7863)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74EA #D1EA74
analogous
#7496EA #8D74EA #C874EA
triadic
#8D74EA #EA8D74 #74EA8D
tetradic
#8D74EA #EA7496 #D1EA74 #74EAC8
square
#8D74EA #EA7496 #D1EA74 #74EAC8
split-complementary
#8D74EA #EAC874 #96EA74
monochromatic
#411EC6 #613FE2 #8D74EA #B9A9F2 #E4DEFA

Accessibility & contrast

On white

3.61
#8D74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8D74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74EA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74EA#FFFFFF#000000##000000
##8D74EA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#4684E7
Tritanopia (blue-blind)
#748CA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d74ea;
/* rgb */ color: rgb(141, 116, 234);
/* oklch */ color: oklch(63.7% 0.171 290.4);
Tailwind
colors: {
  custom: {
    50: '#b39cf1',
    500: '#8d74ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d74ea;
$custom-light: #b39cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74ea",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 252.712,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63732,
    "c": 0.17127,
    "h": 290.4
  },
  "luminance": 0.24094
}

Semantic roles & 50–950 ramp

primary
#8D74EA
secondary
#E7EFCB
accent
#D610AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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