#8F4DE9#8F4DE9

#8F4DE9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.223 H 298.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F4DE9
RGBrgb(143, 77, 233)
HSLhsl(265, 78%, 61%)
HSVhsv(265, 67%, 91%)
CMYKcmyk(38.6%, 67%, 0%, 8.6%)
CIE-LABlab(48.30, 58.24, -68.74)
CIE-LCHlch(48.30, 90.10, 310.27°)
OKLaboklab(57.99% 0.1067 -0.1961)
OKLCHoklch(57.99% 0.223 298.6)
XYZxyz(28.6858, 17.0302, 78.8508)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DE9 #A7E94D
analogous
#4D59E9 #8F4DE9 #DD4DE9
triadic
#8F4DE9 #E98F4D #4DE98F
tetradic
#8F4DE9 #E94D59 #A7E94D #4DE9DD
square
#8F4DE9 #E94D59 #A7E94D #4DE9DD
split-complementary
#8F4DE9 #E9DD4D #59E94D
monochromatic
#5315A7 #6D1BDD #8F4DE9 #B183F0 #D4BAF6

Accessibility & contrast

On white

4.77
#8F4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8F4DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DE9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DE9#FFFFFF#000000##FFFFFF
##8F4DE91.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f4de9;
/* rgb */ color: rgb(143, 77, 233);
/* oklch */ color: oklch(58.0% 0.223 298.6);
Tailwind
colors: {
  custom: {
    50: '#b683f1',
    500: '#8f4de9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4de9;
$custom-light: #b683f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4de9",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 265.385,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.22322,
    "h": 298.6
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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