#8F5BE5#8F5BE5

#8F5BE5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.201 H 297.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F5BE5
RGBrgb(143, 91, 229)
HSLhsl(263, 73%, 63%)
HSVhsv(263, 60%, 90%)
CMYKcmyk(37.6%, 60.3%, 0%, 10.2%)
CIE-LABlab(50.66, 50.07, -62.66)
CIE-LCHlch(50.66, 80.21, 308.63°)
OKLaboklab(59.61% 0.092 -0.1782)
OKLCHoklch(59.61% 0.201 297.3)
XYZxyz(29.2080, 18.9785, 76.2379)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BE5 #B1E55B
analogous
#5B6CE5 #8F5BE5 #D45BE5
triadic
#8F5BE5 #E58F5B #5BE58F
tetradic
#8F5BE5 #E55B6C #B1E55B #5BE5D4
square
#8F5BE5 #E55B6C #B1E55B #5BE5D4
split-complementary
#8F5BE5 #E5D45B #6CE55B
monochromatic
#511BAB #6B26DD #8F5BE5 #B390ED #D7C5F6

Accessibility & contrast

On white

4.38
#8F5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8F5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BE5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BE5#FFFFFF#000000##000000
##8F5BE51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#7B7998
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5be5;
/* rgb */ color: rgb(143, 91, 229);
/* oklch */ color: oklch(59.6% 0.201 297.3);
Tailwind
colors: {
  custom: {
    50: '#b58cee',
    500: '#8f5be5',
    950: '#000000',
  },
}
SCSS
$custom: #8f5be5;
$custom-light: #b58cee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5be5",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 262.609,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.20054,
    "h": 297.3
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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