#8D74EF#8D74EF

#8D74EF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.0% C 0.178 H 289.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D74EF
RGBrgb(141, 116, 239)
HSLhsl(252, 79%, 70%)
HSVhsv(252, 51%, 94%)
CMYKcmyk(41%, 51.5%, 0%, 6.3%)
CIE-LABlab(56.47, 38.36, -58.93)
CIE-LCHlch(56.47, 70.32, 303.06°)
OKLaboklab(64.04% 0.0602 -0.1673)
OKLCHoklch(64.04% 0.178 289.8)
XYZxyz(32.8056, 24.3844, 84.6228)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74EF #D6EF74
analogous
#7499EF #8D74EF #CB74EF
triadic
#8D74EF #EF8D74 #74EF8D
tetradic
#8D74EF #EF7499 #D6EF74 #74EFCB
square
#8D74EF #EF7499 #D6EF74 #74EFCB
split-complementary
#8D74EF #EFCB74 #99EF74
monochromatic
#3E18D1 #603DE9 #8D74EF #BAABF5 #E7E2FC

Accessibility & contrast

On white

3.57
#8D74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8D74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74EF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74EF#FFFFFF#000000##000000
##8D74EF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#4085EC
Tritanopia (blue-blind)
#728EA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d74ef;
/* rgb */ color: rgb(141, 116, 239);
/* oklch */ color: oklch(64.0% 0.178 289.8);
Tailwind
colors: {
  custom: {
    50: '#b39cf5',
    500: '#8d74ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d74ef;
$custom-light: #b39cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74ef",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 252.195,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.17779,
    "h": 289.8
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#8D74EF
secondary
#EAF1CE
accent
#DC0AB1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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