#8F5DAD#8F5DAD

#8F5DAD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.130 H 311.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5DAD
RGBrgb(143, 93, 173)
HSLhsl(278, 33%, 52%)
HSVhsv(278, 46%, 68%)
CMYKcmyk(17.3%, 46.2%, 0%, 32.2%)
CIE-LABlab(47.86, 35.33, -34.96)
CIE-LCHlch(47.86, 49.70, 315.30°)
OKLaboklab(56.5% 0.0865 -0.0972)
OKLCHoklch(56.5% 0.13 311.7)
XYZxyz(22.7835, 16.6859, 41.5475)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DAD #7BAD5D
analogous
#675DAD #8F5DAD #AD5DA3
triadic
#8F5DAD #AD8F5D #5DAD8F
tetradic
#8F5DAD #AD675D #7BAD5D #5DA3AD
square
#8F5DAD #AD675D #7BAD5D #5DA3AD
split-complementary
#8F5DAD #A3AD5D #5DAD67
monochromatic
#4E305F #6F4588 #8F5DAD #AB86C2 #C7AED6

Accessibility & contrast

On white

4.84
#8F5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8F5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5DAD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DAD#FFFFFF#000000##FFFFFF
##8F5DAD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#8C697D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f5dad;
/* rgb */ color: rgb(143, 93, 173);
/* oklch */ color: oklch(56.5% 0.130 311.7);
Tailwind
colors: {
  custom: {
    50: '#b18cc6',
    500: '#8f5dad',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dad;
$custom-light: #b18cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dad",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 277.5,
    "s": 32.787,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.13012,
    "h": 311.7
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#8F5DAD
secondary
#AFC4A1
accent
#C95F87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8F5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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