#8F5BC0#8F5BC0

#8F5BC0 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.156 H 305.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F5BC0
RGBrgb(143, 91, 192)
HSLhsl(271, 44%, 55%)
HSVhsv(271, 53%, 75%)
CMYKcmyk(25.5%, 52.6%, 0%, 24.7%)
CIE-LABlab(48.42, 40.88, -45.13)
CIE-LCHlch(48.42, 60.90, 312.17°)
OKLaboklab(57.24% 0.0915 -0.1268)
OKLCHoklch(57.24% 0.156 305.8)
XYZxyz(24.5812, 17.1278, 51.8700)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BC0 #8CC05B
analogous
#5C5BC0 #8F5BC0 #C05BBE
triadic
#8F5BC0 #C08F5B #5BC08F
tetradic
#8F5BC0 #C05C5B #8CC05B #5BBEC0
square
#8F5BC0 #C05C5B #8CC05B #5BBEC0
split-complementary
#8F5BC0 #BEC05B #5BC05C
monochromatic
#512D74 #703EA0 #8F5BC0 #AD87D1 #CBB3E2

Accessibility & contrast

On white

4.75
#8F5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8F5BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5BC0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BC0#FFFFFF#000000##FFFFFF
##8F5BC01.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#876D85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f5bc0;
/* rgb */ color: rgb(143, 91, 192);
/* oklch */ color: oklch(57.2% 0.156 305.8);
Tailwind
colors: {
  custom: {
    50: '#b28bd3',
    500: '#8f5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bc0;
$custom-light: #b28bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bc0",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 270.891,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57242,
    "c": 0.15636,
    "h": 305.8
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#8F5BC0
secondary
#BBD0A6
accent
#D45492
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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