#8F6FAF#8F6FAF

#8F6FAF is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.8% C 0.101 H 306.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F6FAF
RGBrgb(143, 111, 175)
HSLhsl(270, 29%, 56%)
HSVhsv(270, 37%, 69%)
CMYKcmyk(18.3%, 36.6%, 0%, 31.4%)
CIE-LABlab(52.18, 25.41, -29.37)
CIE-LCHlch(52.18, 38.84, 310.86°)
OKLaboklab(59.79% 0.0601 -0.0812)
OKLCHoklch(59.79% 0.101 306.5)
XYZxyz(24.7485, 20.3038, 43.1644)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6FAF #8FAF6F
analogous
#6F6FAF #8F6FAF #AF6FAF
triadic
#8F6FAF #AF8F6F #6FAF8F
tetradic
#8F6FAF #AF6F6F #8FAF6F #6FAFAF
square
#8F6FAF #AF6F6F #8FAF6F #6FAFAF
split-complementary
#8F6FAF #AFAF6F #6FAF6F
monochromatic
#523A69 #705091 #8F6FAF #AE96C5 #CCBEDB

Accessibility & contrast

On white

4.15
#8F6FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8F6FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6FAF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6FAF#FFFFFF#000000##000000
##8F6FAF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BB1
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#8A7987
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f6faf;
/* rgb */ color: rgb(143, 111, 175);
/* oklch */ color: oklch(59.8% 0.101 306.5);
Tailwind
colors: {
  custom: {
    50: '#b198c7',
    500: '#8f6faf',
    950: '#000000',
  },
}
SCSS
$custom: #8f6faf;
$custom-light: #b198c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6faf",
  "rgb": {
    "r": 143,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.10104,
    "h": 306.5
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#8F6FAF
secondary
#BDCAB0
accent
#C56394
background
#FAF9FC
surface
#F5F2F8
border
#CFCCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #8F6FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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