#8F74EF#8F74EF

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

Color values

HEX#8F74EF
RGBrgb(143, 116, 239)
HSLhsl(253, 79%, 70%)
HSVhsv(253, 51%, 94%)
CMYKcmyk(40.2%, 51.5%, 0%, 6.3%)
CIE-LABlab(56.65, 38.82, -58.64)
CIE-LCHlch(56.65, 70.33, 303.50°)
OKLaboklab(64.22% 0.0626 -0.1664)
OKLCHoklch(64.22% 0.178 290.6)
XYZxyz(33.1488, 24.5614, 84.6389)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74EF #D4EF74
analogous
#7496EF #8F74EF #CD74EF
triadic
#8F74EF #EF8F74 #74EF8F
tetradic
#8F74EF #EF7496 #D4EF74 #74EFCD
square
#8F74EF #EF7496 #D4EF74 #74EFCD
split-complementary
#8F74EF #EFCD74 #96EF74
monochromatic
#4118D1 #633DE9 #8F74EF #BBABF5 #E7E2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F74EF#FFFFFF#000000##000000
##8F74EF1.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)
#3E8AF3
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#758EA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f74ef;
/* rgb */ color: rgb(143, 116, 239);
/* oklch */ color: oklch(64.2% 0.178 290.6);
Tailwind
colors: {
  custom: {
    50: '#b59cf5',
    500: '#8f74ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f74ef;
$custom-light: #b59cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74ef",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 253.171,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64215,
    "c": 0.17778,
    "h": 290.6
  },
  "luminance": 0.24562
}

Semantic roles & 50–950 ramp

primary
#8F74EF
secondary
#E9F1CE
accent
#DC0AAE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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