#8D74F2#8D74F2

#8D74F2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.2% C 0.182 H 289.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D74F2
RGBrgb(141, 116, 242)
HSLhsl(252, 83%, 70%)
HSVhsv(252, 52%, 95%)
CMYKcmyk(41.7%, 52.1%, 0%, 5.1%)
CIE-LABlab(56.65, 39.18, -60.32)
CIE-LCHlch(56.65, 71.93, 303.01°)
OKLaboklab(64.23% 0.0604 -0.1714)
OKLCHoklch(64.23% 0.182 289.4)
XYZxyz(33.2524, 24.5632, 86.9763)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74F2 #D9F274
analogous
#749AF2 #8D74F2 #CC74F2
triadic
#8D74F2 #F28D74 #74F28D
tetradic
#8D74F2 #F2749A #D9F274 #74F2CC
square
#8D74F2 #F2749A #D9F274 #74F2CC
split-complementary
#8D74F2 #F2CC74 #9AF274
monochromatic
#3B14D7 #5F3CED #8D74F2 #BBACF7 #E8E3FC

Accessibility & contrast

On white

3.55
#8D74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8D74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74F2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74F2#FFFFFF#000000##000000
##8D74F21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#708FA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d74f2;
/* rgb */ color: rgb(141, 116, 242);
/* oklch */ color: oklch(64.2% 0.182 289.4);
Tailwind
colors: {
  custom: {
    50: '#b49cf7',
    500: '#8d74f2',
    950: '#000000',
  },
}
SCSS
$custom: #8d74f2;
$custom-light: #b49cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74f2",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 251.905,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.18168,
    "h": 289.4
  },
  "luminance": 0.24564
}

Semantic roles & 50–950 ramp

primary
#8D74F2
secondary
#EBF2CF
accent
#DF06B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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