#8F4AE6#8F4AE6

#8F4AE6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.224 H 299.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8F4AE6
RGBrgb(143, 74, 230)
HSLhsl(267, 76%, 60%)
HSVhsv(267, 68%, 90%)
CMYKcmyk(37.8%, 67.8%, 0%, 9.8%)
CIE-LABlab(47.56, 58.95, -68.25)
CIE-LCHlch(47.56, 90.18, 310.82°)
OKLaboklab(57.39% 0.1102 -0.1946)
OKLCHoklch(57.39% 0.224 299.5)
XYZxyz(28.0558, 16.4501, 76.5446)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AE6 #A1E64A
analogous
#4A53E6 #8F4AE6 #DD4AE6
triadic
#8F4AE6 #E68F4A #4AE68F
tetradic
#8F4AE6 #E64A53 #A1E64A #4AE6DD
square
#8F4AE6 #E64A53 #A1E64A #4AE6DD
split-complementary
#8F4AE6 #E6DD4A #53E64A
monochromatic
#5316A0 #6F1DD5 #8F4AE6 #B080ED #D2B6F5

Accessibility & contrast

On white

4.90
#8F4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8F4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AE6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AE6#FFFFFF#000000##FFFFFF
##8F4AE61.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#7B6F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4ae6;
/* rgb */ color: rgb(143, 74, 230);
/* oklch */ color: oklch(57.4% 0.224 299.5);
Tailwind
colors: {
  custom: {
    50: '#b681ef',
    500: '#8f4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ae6;
$custom-light: #b681ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ae6",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 266.538,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.22362,
    "h": 299.5
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#8F4AE6
secondary
#C9E4A8
accent
#F2359F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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