#8F5AEB#8F5AEB

#8F5AEB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.209 H 296.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F5AEB
RGBrgb(143, 90, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(39.1%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.86, 52.14, -65.72)
CIE-LCHlch(50.86, 83.89, 308.43°)
OKLaboklab(59.88% 0.0928 -0.1872)
OKLCHoklch(59.88% 0.209 296.4)
XYZxyz(29.9754, 19.1496, 80.6981)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AEB #B6EB5A
analogous
#5A6DEB #8F5AEB #D75AEB
triadic
#8F5AEB #EB8F5A #5AEB8F
tetradic
#8F5AEB #EB5A6D #B6EB5A #5AEBD7
square
#8F5AEB #EB5A6D #B6EB5A #5AEBD7
split-complementary
#8F5AEB #EBD75A #6DEB5A
monochromatic
#5016B5 #6A23E4 #8F5AEB #B491F2 #D9C7F8

Accessibility & contrast

On white

4.35
#8F5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8F5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5AEB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5AEB#FFFFFF#000000##000000
##8F5AEB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#787A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5aeb;
/* rgb */ color: rgb(143, 90, 235);
/* oklch */ color: oklch(59.9% 0.209 296.4);
Tailwind
colors: {
  custom: {
    50: '#b68bf2',
    500: '#8f5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5aeb;
$custom-light: #b68bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5aeb",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 261.931,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.20891,
    "h": 296.4
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#8F5AEB
secondary
#D7EAB7
accent
#DB0B8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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