#8F5FBB#8F5FBB

#8F5FBB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.6% C 0.144 H 306.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F5FBB
RGBrgb(143, 95, 187)
HSLhsl(271, 40%, 55%)
HSVhsv(271, 49%, 73%)
CMYKcmyk(23.5%, 49.2%, 0%, 26.7%)
CIE-LABlab(49.02, 37.45, -41.28)
CIE-LCHlch(49.02, 55.74, 312.22°)
OKLaboklab(57.6% 0.0855 -0.1156)
OKLCHoklch(57.6% 0.144 306.5)
XYZxyz(24.3877, 17.6121, 49.1188)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FBB #8BBB5F
analogous
#615FBB #8F5FBB #BB5FB9
triadic
#8F5FBB #BB8F5F #5FBB8F
tetradic
#8F5FBB #BB615F #8BBB5F #5FB9BB
square
#8F5FBB #BB615F #8BBB5F #5FB9BB
split-complementary
#8F5FBB #B9BB5F #5FBB61
monochromatic
#513070 #70429B #8F5FBB #AD8ACD #CBB5E0

Accessibility & contrast

On white

4.64
#8F5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8F5FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5FBB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FBB#FFFFFF#000000##FFFFFF
##8F5FBB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#886F84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5fbb;
/* rgb */ color: rgb(143, 95, 187);
/* oklch */ color: oklch(57.6% 0.144 306.5);
Tailwind
colors: {
  custom: {
    50: '#b28ed0',
    500: '#8f5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fbb;
$custom-light: #b28ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fbb",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 271.304,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57601,
    "c": 0.14379,
    "h": 306.5
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#8F5FBB
secondary
#BACEA8
accent
#D05891
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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