#8F5DC6#8F5DC6

#8F5DC6 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.160 H 303.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F5DC6
RGBrgb(143, 93, 198)
HSLhsl(269, 48%, 57%)
HSVhsv(269, 53%, 78%)
CMYKcmyk(27.8%, 53%, 0%, 22.4%)
CIE-LABlab(49.19, 41.22, -47.37)
CIE-LCHlch(49.19, 62.80, 311.03°)
OKLaboklab(57.92% 0.0893 -0.1333)
OKLCHoklch(57.92% 0.16 303.8)
XYZxyz(25.4328, 17.7456, 55.5005)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DC6 #94C65D
analogous
#5D60C6 #8F5DC6 #C35DC6
triadic
#8F5DC6 #C68F5D #5DC68F
tetradic
#8F5DC6 #C65D60 #94C65D #5DC6C3
square
#8F5DC6 #C65D60 #94C65D #5DC6C3
split-complementary
#8F5DC6 #C6C35D #60C65D
monochromatic
#522C7D #703CAA #8F5DC6 #AE8AD6 #CEB8E6

Accessibility & contrast

On white

4.62
#8F5DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8F5DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5DC6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DC6#FFFFFF#000000##FFFFFF
##8F5DC61.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3974CA
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#857189
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5dc6;
/* rgb */ color: rgb(143, 93, 198);
/* oklch */ color: oklch(57.9% 0.160 303.8);
Tailwind
colors: {
  custom: {
    50: '#b38cd8',
    500: '#8f5dc6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dc6;
$custom-light: #b38cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dc6",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 268.571,
    "s": 47.945,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.16046,
    "h": 303.8
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F5DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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