#8F5BC9#8F5BC9

#8F5BC9 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.167 H 303.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8F5BC9
RGBrgb(143, 91, 201)
HSLhsl(268, 50%, 57%)
HSVhsv(268, 55%, 79%)
CMYKcmyk(28.9%, 54.7%, 0%, 21.2%)
CIE-LABlab(48.93, 43.06, -49.50)
CIE-LCHlch(48.93, 65.61, 311.02°)
OKLaboklab(57.79% 0.092 -0.1396)
OKLCHoklch(57.79% 0.167 303.4)
XYZxyz(25.6090, 17.5389, 57.2832)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BC9 #95C95B
analogous
#5B5EC9 #8F5BC9 #C65BC9
triadic
#8F5BC9 #C98F5B #5BC98F
tetradic
#8F5BC9 #C95B5E #95C95B #5BC9C6
square
#8F5BC9 #C95B5E #95C95B #5BC9C6
split-complementary
#8F5BC9 #C9C65B #5EC95B
monochromatic
#522A80 #7039AE #8F5BC9 #AE89D8 #CEB7E7

Accessibility & contrast

On white

4.66
#8F5BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8F5BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5BC9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BC9#FFFFFF#000000##FFFFFF
##8F5BC91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3273CD
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#847089
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5bc9;
/* rgb */ color: rgb(143, 91, 201);
/* oklch */ color: oklch(57.8% 0.167 303.4);
Tailwind
colors: {
  custom: {
    50: '#b38bda',
    500: '#8f5bc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bc9;
$custom-light: #b38bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bc9",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 268.364,
    "s": 50.459,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.1672,
    "h": 303.4
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#8F5BC9
secondary
#C1D6AA
accent
#DA4E98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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