#8F74F4#8F74F4

#8F74F4 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.184 H 290.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8F74F4
RGBrgb(143, 116, 244)
HSLhsl(253, 85%, 71%)
HSVhsv(253, 52%, 96%)
CMYKcmyk(41.4%, 52.5%, 0%, 4.3%)
CIE-LABlab(56.94, 40.18, -60.95)
CIE-LCHlch(56.94, 73.00, 303.40°)
OKLaboklab(64.53% 0.0629 -0.1732)
OKLCHoklch(64.53% 0.184 290)
XYZxyz(33.8977, 24.8610, 88.5830)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74F4 #D9F474
analogous
#7499F4 #8F74F4 #CF74F4
triadic
#8F74F4 #F48F74 #74F48F
tetradic
#8F74F4 #F47499 #D9F474 #74F4CF
square
#8F74F4 #F47499 #D9F474 #74F4CF
split-complementary
#8F74F4 #F4CF74 #99F474
monochromatic
#3C11DC #613BF0 #8F74F4 #BDADF8 #E8E3FD

Accessibility & contrast

On white

3.52
#8F74F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8F74F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74F4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74F4#FFFFFF#000000##000000
##8F74F41.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF8
Deuteranopia (green-blind)
#3C86F1
Tritanopia (blue-blind)
#728FA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f74f4;
/* rgb */ color: rgb(143, 116, 244);
/* oklch */ color: oklch(64.5% 0.184 290.0);
Tailwind
colors: {
  custom: {
    50: '#b59cf8',
    500: '#8f74f4',
    950: '#000000',
  },
}
SCSS
$custom: #8f74f4;
$custom-light: #b59cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74f4",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 252.656,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.18422,
    "h": 290
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

primary
#8F74F4
secondary
#ECF3D1
accent
#E204B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F74F4

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

Preview Lab → · Contrast checker → · Palette generator →

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