#8D74FB#8D74FB

#8D74FB is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.8% C 0.193 H 288.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D74FB
RGBrgb(141, 116, 251)
HSLhsl(251, 94%, 72%)
HSVhsv(251, 54%, 98%)
CMYKcmyk(43.8%, 53.8%, 0%, 1.6%)
CIE-LABlab(57.19, 41.67, -64.43)
CIE-LCHlch(57.19, 76.73, 302.89°)
OKLaboklab(64.81% 0.0607 -0.1834)
OKLCHoklch(64.81% 0.193 288.3)
XYZxyz(34.6375, 25.1172, 94.2712)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74FB #E2FB74
analogous
#749FFB #8D74FB #D174FB
triadic
#8D74FB #FB8D74 #74FB8D
tetradic
#8D74FB #FB749F #E2FB74 #74FBD1
square
#8D74FB #FB749F #E2FB74 #74FBD1
split-complementary
#8D74FB #FBD174 #9FFB74
monochromatic
#3207EE #5C39F9 #8D74FB #BEAFFD #E7E1FE

Accessibility & contrast

On white

3.49
#8D74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74FB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74FB#FFFFFF#000000##000000
##8D74FB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#2F86F8
Tritanopia (blue-blind)
#6C91AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d74fb;
/* rgb */ color: rgb(141, 116, 251);
/* oklch */ color: oklch(64.8% 0.193 288.3);
Tailwind
colors: {
  custom: {
    50: '#b49cfd',
    500: '#8d74fb',
    950: '#000000',
  },
}
SCSS
$custom: #8d74fb;
$custom-light: #b49cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74fb",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 251.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64807,
    "c": 0.19324,
    "h": 288.3
  },
  "luminance": 0.25119
}

Semantic roles & 50–950 ramp

primary
#8D74FB
secondary
#F0F6D4
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8D74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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