#8F5AE6#8F5AE6

#8F5AE6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.203 H 297.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F5AE6
RGBrgb(143, 90, 230)
HSLhsl(263, 74%, 63%)
HSVhsv(263, 61%, 90%)
CMYKcmyk(37.8%, 60.9%, 0%, 9.8%)
CIE-LABlab(50.53, 50.86, -63.44)
CIE-LCHlch(50.53, 81.31, 308.72°)
OKLaboklab(59.53% 0.093 -0.1805)
OKLCHoklch(59.53% 0.203 297.3)
XYZxyz(29.2631, 18.8647, 76.9471)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AE6 #B1E65A
analogous
#5A6BE6 #8F5AE6 #D55AE6
triadic
#8F5AE6 #E68F5A #5AE68F
tetradic
#8F5AE6 #E65A6B #B1E65A #5AE6D5
square
#8F5AE6 #E65A6B #B1E65A #5AE6D5
split-complementary
#8F5AE6 #E6D55A #6BE65A
monochromatic
#511AAC #6B25DE #8F5AE6 #B38FEE #D7C4F6

Accessibility & contrast

On white

4.40
#8F5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8F5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5AE6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5AE6#FFFFFF#000000##000000
##8F5AE61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#1777E3
Tritanopia (blue-blind)
#7A7998
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5ae6;
/* rgb */ color: rgb(143, 90, 230);
/* oklch */ color: oklch(59.5% 0.203 297.3);
Tailwind
colors: {
  custom: {
    50: '#b58bef',
    500: '#8f5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ae6;
$custom-light: #b58bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ae6",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 262.714,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.20307,
    "h": 297.3
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#8F5AE6
secondary
#D4E7B5
accent
#D6108B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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