#8F4EE9#8F4EE9

#8F4EE9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.222 H 298.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F4EE9
RGBrgb(143, 78, 233)
HSLhsl(265, 78%, 61%)
HSVhsv(265, 67%, 91%)
CMYKcmyk(38.6%, 66.5%, 0%, 8.6%)
CIE-LABlab(48.48, 57.75, -68.46)
CIE-LCHlch(48.48, 89.56, 310.15°)
OKLaboklab(58.11% 0.1057 -0.1952)
OKLCHoklch(58.11% 0.222 298.4)
XYZxyz(28.7563, 17.1712, 78.8743)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EE9 #A8E94E
analogous
#4E5AE9 #8F4EE9 #DC4EE9
triadic
#8F4EE9 #E98F4E #4EE98F
tetradic
#8F4EE9 #E94E5A #A8E94E #4EE9DC
square
#8F4EE9 #E94E5A #A8E94E #4EE9DC
split-complementary
#8F4EE9 #E9DC4E #5AE94E
monochromatic
#5215A8 #6D1CDE #8F4EE9 #B184F0 #D4BBF7

Accessibility & contrast

On white

4.74
#8F4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8F4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EE9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EE9#FFFFFF#000000##FFFFFF
##8F4EE91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#7A7295
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f4ee9;
/* rgb */ color: rgb(143, 78, 233);
/* oklch */ color: oklch(58.1% 0.222 298.4);
Tailwind
colors: {
  custom: {
    50: '#b684f1',
    500: '#8f4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ee9;
$custom-light: #b684f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ee9",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 265.161,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.222,
    "h": 298.4
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#8F4EE9
secondary
#CEE7AC
accent
#DA0B83
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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