#8F5BE6#8F5BE6

#8F5BE6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.202 H 297.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F5BE6
RGBrgb(143, 91, 230)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 60%, 90%)
CMYKcmyk(37.8%, 60.4%, 0%, 9.8%)
CIE-LABlab(50.73, 50.33, -63.12)
CIE-LCHlch(50.73, 80.73, 308.57°)
OKLaboklab(59.68% 0.0919 -0.1796)
OKLCHoklch(59.68% 0.202 297.1)
XYZxyz(29.3481, 19.0345, 76.9754)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BE6 #B2E65B
analogous
#5B6CE6 #8F5BE6 #D45BE6
triadic
#8F5BE6 #E68F5B #5BE68F
tetradic
#8F5BE6 #E65B6C #B2E65B #5BE6D4
square
#8F5BE6 #E65B6C #B2E65B #5BE6D4
split-complementary
#8F5BE6 #E6D45B #6CE65B
monochromatic
#511AAC #6B26DE #8F5BE6 #B390EE #D8C5F6

Accessibility & contrast

On white

4.37
#8F5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8F5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BE6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BE6#FFFFFF#000000##000000
##8F5BE61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#1A77E3
Tritanopia (blue-blind)
#7A7998
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5be6;
/* rgb */ color: rgb(143, 91, 230);
/* oklch */ color: oklch(59.7% 0.202 297.1);
Tailwind
colors: {
  custom: {
    50: '#b58cef',
    500: '#8f5be6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5be6;
$custom-light: #b58cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5be6",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 262.446,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.20172,
    "h": 297.1
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#8F5BE6
secondary
#D5E7B5
accent
#D6108C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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