#8D74FE#8D74FE

#8D74FE is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.0% C 0.197 H 288.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8D74FE
RGBrgb(141, 116, 254)
HSLhsl(251, 99%, 73%)
HSVhsv(251, 54%, 100%)
CMYKcmyk(44.5%, 54.3%, 0%, 0.4%)
CIE-LABlab(57.37, 42.50, -65.79)
CIE-LCHlch(57.37, 78.33, 302.86°)
OKLaboklab(65% 0.0608 -0.1874)
OKLCHoklch(65% 0.197 288)
XYZxyz(35.1142, 25.3079, 96.7815)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74FE #E5FE74
analogous
#74A0FE #8D74FE #D274FE
triadic
#8D74FE #FE8D74 #74FE8D
tetradic
#8D74FE #FE74A0 #E5FE74 #74FED2
square
#8D74FE #FE74A0 #E5FE74 #74FED2
split-complementary
#8D74FE #FED274 #A0FE74
monochromatic
#2E02F6 #5B37FE #8D74FE #BFB1FE #E6E1FF

Accessibility & contrast

On white

3.46
#8D74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8D74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74FE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74FE#FFFFFF#000000##000000
##8D74FE1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#288DFF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#6A92AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d74fe;
/* rgb */ color: rgb(141, 116, 254);
/* oklch */ color: oklch(65.0% 0.197 288.0);
Tailwind
colors: {
  custom: {
    50: '#b59cff',
    500: '#8d74fe',
    950: '#000000',
  },
}
SCSS
$custom: #8d74fe;
$custom-light: #b59cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74fe",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 250.87,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65003,
    "c": 0.19705,
    "h": 288
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#8D74FE
secondary
#F1F7D4
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8D74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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