#8F5ACA#8F5ACA

#8F5ACA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.170 H 303.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F5ACA
RGBrgb(143, 90, 202)
HSLhsl(268, 51%, 57%)
HSVhsv(268, 55%, 79%)
CMYKcmyk(29.2%, 55.4%, 0%, 20.8%)
CIE-LABlab(48.78, 43.85, -50.32)
CIE-LCHlch(48.78, 66.75, 311.07°)
OKLaboklab(57.69% 0.0934 -0.142)
OKLCHoklch(57.69% 0.17 303.3)
XYZxyz(25.6421, 17.4163, 57.8764)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ACA #95CA5A
analogous
#5A5DCA #8F5ACA #C75ACA
triadic
#8F5ACA #CA8F5A #5ACA8F
tetradic
#8F5ACA #CA5A5D #95CA5A #5ACAC7
square
#8F5ACA #CA5A5D #95CA5A #5ACAC7
split-complementary
#8F5ACA #CAC75A #5DCA5A
monochromatic
#522980 #7038AF #8F5ACA #AE88D9 #CEB7E8

Accessibility & contrast

On white

4.68
#8F5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8F5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5ACA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ACA#FFFFFF#000000##FFFFFF
##8F5ACA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#847089
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5aca;
/* rgb */ color: rgb(143, 90, 202);
/* oklch */ color: oklch(57.7% 0.170 303.3);
Tailwind
colors: {
  custom: {
    50: '#b38adb',
    500: '#8f5aca',
    950: '#000000',
  },
}
SCSS
$custom: #8f5aca;
$custom-light: #b38adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5aca",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 268.393,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.16993,
    "h": 303.3
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#8F5ACA
secondary
#C1D7A9
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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