#8F4FE6#8F4FE6

#8F4FE6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.217 H 298.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE6
RGBrgb(143, 79, 230)
HSLhsl(265, 75%, 61%)
HSVhsv(265, 66%, 90%)
CMYKcmyk(37.8%, 65.7%, 0%, 9.8%)
CIE-LABlab(48.44, 56.52, -66.82)
CIE-LCHlch(48.44, 87.51, 310.23°)
OKLaboklab(58.02% 0.105 -0.1904)
OKLCHoklch(58.02% 0.217 298.9)
XYZxyz(28.4030, 17.1444, 76.6604)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE6 #A6E64F
analogous
#4F5BE6 #8F4FE6 #DA4FE6
triadic
#8F4FE6 #E68F4F #4FE68F
tetradic
#8F4FE6 #E64F5B #A6E64F #4FE6DA
square
#8F4FE6 #E64F5B #A6E64F #4FE6DA
split-complementary
#8F4FE6 #E6DA4F #5BE64F
monochromatic
#5317A3 #6E1FD9 #8F4FE6 #B185EE #D3BAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F4FE6#FFFFFF#000000##FFFFFF
##8F4FE61.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)
#0073EB
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#7B7294
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f4fe6;
/* rgb */ color: rgb(143, 79, 230);
/* oklch */ color: oklch(58.0% 0.217 298.9);
Tailwind
colors: {
  custom: {
    50: '#b684ef',
    500: '#8f4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe6;
$custom-light: #b684ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe6",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 265.43,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58021,
    "c": 0.21746,
    "h": 298.9
  },
  "luminance": 0.17145
}

Semantic roles & 50–950 ramp

primary
#8F4FE6
secondary
#CDE5AC
accent
#D70E82
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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