#8F5CC7#8F5CC7

#8F5CC7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.163 H 303.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F5CC7
RGBrgb(143, 92, 199)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(28.1%, 53.8%, 0%, 22%)
CIE-LABlab(49.03, 42.02, -48.20)
CIE-LCHlch(49.03, 63.94, 311.08°)
OKLaboklab(57.82% 0.0906 -0.1358)
OKLCHoklch(57.82% 0.163 303.7)
XYZxyz(25.4614, 17.6175, 56.0809)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CC7 #94C75C
analogous
#5C5FC7 #8F5CC7 #C45CC7
triadic
#8F5CC7 #C78F5C #5CC78F
tetradic
#8F5CC7 #C75C5F #94C75C #5CC7C4
square
#8F5CC7 #C75C5F #94C75C #5CC7C4
split-complementary
#8F5CC7 #C7C45C #5FC75C
monochromatic
#522B7D #703BAB #8F5CC7 #AE8AD7 #CEB7E6

Accessibility & contrast

On white

4.64
#8F5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8F5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5CC7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CC7#FFFFFF#000000##FFFFFF
##8F5CC71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#857089
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5cc7;
/* rgb */ color: rgb(143, 92, 199);
/* oklch */ color: oklch(57.8% 0.163 303.7);
Tailwind
colors: {
  custom: {
    50: '#b38cd8',
    500: '#8f5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cc7;
$custom-light: #b38cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cc7",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 268.598,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.16324,
    "h": 303.7
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#8F5CC7
secondary
#C0D5AA
accent
#D84F97
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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