#8F5BC7#8F5BC7

#8F5BC7 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.165 H 303.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F5BC7
RGBrgb(143, 91, 199)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(28.1%, 54.3%, 0%, 22%)
CIE-LABlab(48.82, 42.57, -48.54)
CIE-LCHlch(48.82, 64.56, 311.25°)
OKLaboklab(57.66% 0.092 -0.1368)
OKLCHoklch(57.66% 0.165 303.9)
XYZxyz(25.3753, 17.4454, 56.0522)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BC7 #93C75B
analogous
#5B5DC7 #8F5BC7 #C55BC7
triadic
#8F5BC7 #C78F5B #5BC78F
tetradic
#8F5BC7 #C75B5D #93C75B #5BC7C5
square
#8F5BC7 #C75B5D #93C75B #5BC7C5
split-complementary
#8F5BC7 #C7C55B #5DC75B
monochromatic
#522B7D #703AAB #8F5BC7 #AE89D7 #CDB6E6

Accessibility & contrast

On white

4.68
#8F5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8F5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5BC7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BC7#FFFFFF#000000##FFFFFF
##8F5BC71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CB
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#856F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5bc7;
/* rgb */ color: rgb(143, 91, 199);
/* oklch */ color: oklch(57.7% 0.165 303.9);
Tailwind
colors: {
  custom: {
    50: '#b38bd8',
    500: '#8f5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bc7;
$custom-light: #b38bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bc7",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 268.889,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57662,
    "c": 0.1648,
    "h": 303.9
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#8F5BC7
secondary
#C0D5A9
accent
#D94F96
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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