#8F5ACE#8F5ACE

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

Color values

HEX#8F5ACE
RGBrgb(143, 90, 206)
HSLhsl(267, 54%, 58%)
HSVhsv(267, 56%, 81%)
CMYKcmyk(30.6%, 56.3%, 0%, 19.2%)
CIE-LABlab(49.02, 44.83, -52.24)
CIE-LCHlch(49.02, 68.84, 310.64°)
OKLaboklab(57.94% 0.0935 -0.1476)
OKLCHoklch(57.94% 0.175 302.3)
XYZxyz(26.1219, 17.6082, 60.4031)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ACE #99CE5A
analogous
#5A5FCE #8F5ACE #C95ACE
triadic
#8F5ACE #CE8F5A #5ACE8F
tetradic
#8F5ACE #CE5A5F #99CE5A #5ACEC9
square
#8F5ACE #CE5A5F #99CE5A #5ACEC9
split-complementary
#8F5ACE #CEC95A #5FCE5A
monochromatic
#532886 #7036B5 #8F5ACE #AF89DC #CFB8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5ACE#FFFFFF#000000##FFFFFF
##8F5ACE1.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)
#2A74D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#83718B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5ace;
/* rgb */ color: rgb(143, 90, 206);
/* oklch */ color: oklch(57.9% 0.175 302.3);
Tailwind
colors: {
  custom: {
    50: '#b38bdd',
    500: '#8f5ace',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ace;
$custom-light: #b38bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ace",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 267.414,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.1747,
    "h": 302.3
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#8F5ACE
secondary
#C4D9AB
accent
#DE4A9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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