#8F5EE6#8F5EE6

#8F5EE6 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.198 H 296.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F5EE6
RGBrgb(143, 94, 230)
HSLhsl(262, 73%, 64%)
HSVhsv(262, 59%, 90%)
CMYKcmyk(37.8%, 59.1%, 0%, 9.8%)
CIE-LABlab(51.33, 48.72, -62.14)
CIE-LCHlch(51.33, 78.96, 308.10°)
OKLaboklab(60.12% 0.0885 -0.1767)
OKLCHoklch(60.12% 0.198 296.6)
XYZxyz(29.6097, 19.5577, 77.0626)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EE6 #B5E65E
analogous
#5E71E6 #8F5EE6 #D35EE6
triadic
#8F5EE6 #E68F5E #5EE68F
tetradic
#8F5EE6 #E65E71 #B5E65E #5EE6D3
square
#8F5EE6 #E65E71 #B5E65E #5EE6D3
split-complementary
#8F5EE6 #E6D35E #71E65E
monochromatic
#501BAF #6A29DE #8F5EE6 #B493EE #D9C8F6

Accessibility & contrast

On white

4.28
#8F5EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8F5EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EE6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EE6#FFFFFF#000000##000000
##8F5EE61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2379E3
Tritanopia (blue-blind)
#7A7B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5ee6;
/* rgb */ color: rgb(143, 94, 230);
/* oklch */ color: oklch(60.1% 0.198 296.6);
Tailwind
colors: {
  custom: {
    50: '#b58eef',
    500: '#8f5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ee6;
$custom-light: #b58eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ee6",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 261.618,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.19761,
    "h": 296.6
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#8F5EE6
secondary
#D7E8B8
accent
#D5108E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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