#8F5BE4#8F5BE4

#8F5BE4 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.199 H 297.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F5BE4
RGBrgb(143, 91, 228)
HSLhsl(263, 72%, 63%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(37.3%, 60.1%, 0%, 10.6%)
CIE-LABlab(50.60, 49.82, -62.20)
CIE-LCHlch(50.60, 79.69, 308.69°)
OKLaboklab(59.54% 0.092 -0.1769)
OKLCHoklch(59.54% 0.199 297.5)
XYZxyz(29.0688, 18.9228, 75.5047)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BE4 #B0E45B
analogous
#5B6BE4 #8F5BE4 #D45BE4
triadic
#8F5BE4 #E48F5B #5BE48F
tetradic
#8F5BE4 #E45B6B #B0E45B #5BE4D4
square
#8F5BE4 #E45B6B #B0E45B #5BE4D4
split-complementary
#8F5BE4 #E4D45B #6BE45B
monochromatic
#511CA9 #6B26DB #8F5BE4 #B390ED #D7C4F5

Accessibility & contrast

On white

4.39
#8F5BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8F5BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BE4#FFFFFF#000000##000000
##8F5BE41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#7B7997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5be4;
/* rgb */ color: rgb(143, 91, 228);
/* oklch */ color: oklch(59.5% 0.199 297.5);
Tailwind
colors: {
  custom: {
    50: '#b58ced',
    500: '#8f5be4',
    950: '#000000',
  },
}
SCSS
$custom: #8f5be4;
$custom-light: #b58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5be4",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 262.774,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.19937,
    "h": 297.5
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#8F5BE4
secondary
#D3E6B4
accent
#D4128A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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