#8F5CBF#8F5CBF

#8F5CBF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.154 H 305.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F5CBF
RGBrgb(143, 92, 191)
HSLhsl(271, 44%, 55%)
HSVhsv(271, 52%, 75%)
CMYKcmyk(25.1%, 51.8%, 0%, 25.1%)
CIE-LABlab(48.58, 40.09, -44.30)
CIE-LCHlch(48.58, 59.75, 312.15°)
OKLaboklab(57.34% 0.0901 -0.1244)
OKLCHoklch(57.34% 0.154 305.9)
XYZxyz(24.5568, 17.2557, 51.3171)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CBF #8CBF5C
analogous
#5D5CBF #8F5CBF #BF5CBD
triadic
#8F5CBF #BF8F5C #5CBF8F
tetradic
#8F5CBF #BF5D5C #8CBF5C #5CBDBF
square
#8F5CBF #BF5D5C #8CBF5C #5CBDBF
split-complementary
#8F5CBF #BDBF5C #5CBF5D
monochromatic
#512D73 #703F9F #8F5CBF #AD88D0 #CBB4E2

Accessibility & contrast

On white

4.72
#8F5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8F5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5CBF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CBF#FFFFFF#000000##FFFFFF
##8F5CBF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#876E85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f5cbf;
/* rgb */ color: rgb(143, 92, 191);
/* oklch */ color: oklch(57.3% 0.154 305.9);
Tailwind
colors: {
  custom: {
    50: '#b28cd3',
    500: '#8f5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cbf;
$custom-light: #b28cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cbf",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 270.909,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.15356,
    "h": 305.9
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#8F5CBF
secondary
#BBD0A7
accent
#D35492
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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