#8F5BCF#8F5BCF

#8F5BCF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.174 H 301.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F5BCF
RGBrgb(143, 91, 207)
HSLhsl(267, 55%, 58%)
HSVhsv(267, 56%, 81%)
CMYKcmyk(30.9%, 56%, 0%, 18.8%)
CIE-LABlab(49.29, 44.54, -52.38)
CIE-LCHlch(49.29, 68.75, 310.37°)
OKLaboklab(58.16% 0.0922 -0.148)
OKLCHoklch(58.16% 0.174 301.9)
XYZxyz(26.3287, 17.8267, 61.0732)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BCF #9BCF5B
analogous
#5B61CF #8F5BCF #C95BCF
triadic
#8F5BCF #CF8F5B #5BCF8F
tetradic
#8F5BCF #CF5B61 #9BCF5B #5BCFC9
square
#8F5BCF #CF5B61 #9BCF5B #5BCFC9
split-complementary
#8F5BCF #CFC95B #61CF5B
monochromatic
#532888 #7036B7 #8F5BCF #AF8ADD #D0BAEB

Accessibility & contrast

On white

4.60
#8F5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8F5BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5BCF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BCF#FFFFFF#000000##FFFFFF
##8F5BCF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3E75CC
Tritanopia (blue-blind)
#83728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5bcf;
/* rgb */ color: rgb(143, 91, 207);
/* oklch */ color: oklch(58.2% 0.174 301.9);
Tailwind
colors: {
  custom: {
    50: '#b38bde',
    500: '#8f5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bcf;
$custom-light: #b38bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bcf",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 266.897,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.17441,
    "h": 301.9
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#8F5BCF
secondary
#C5DAAC
accent
#DE4A9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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