#8F74FB#8F74FB

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

Color values

HEX#8F74FB
RGBrgb(143, 116, 251)
HSLhsl(252, 94%, 72%)
HSVhsv(252, 54%, 98%)
CMYKcmyk(43%, 53.8%, 0%, 1.6%)
CIE-LABlab(57.36, 42.11, -64.15)
CIE-LCHlch(57.36, 76.73, 303.28°)
OKLaboklab(64.98% 0.0632 -0.1826)
OKLCHoklch(64.98% 0.193 289.1)
XYZxyz(34.9808, 25.2942, 94.2872)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74FB #E0FB74
analogous
#749DFB #8F74FB #D374FB
triadic
#8F74FB #FB8F74 #74FB8F
tetradic
#8F74FB #FB749D #E0FB74 #74FBD3
square
#8F74FB #FB749D #E0FB74 #74FBD3
split-complementary
#8F74FB #FBD374 #9DFB74
monochromatic
#3507EE #5F39F9 #8F74FB #BFAFFD #E7E1FE

Accessibility & contrast

On white

3.47
#8F74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F74FB#FFFFFF#000000##000000
##8F74FB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#6F91AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f74fb;
/* rgb */ color: rgb(143, 116, 251);
/* oklch */ color: oklch(65.0% 0.193 289.1);
Tailwind
colors: {
  custom: {
    50: '#b69dfd',
    500: '#8f74fb',
    950: '#000000',
  },
}
SCSS
$custom: #8f74fb;
$custom-light: #b69dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74fb",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 252,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.19317,
    "h": 289.1
  },
  "luminance": 0.25295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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