#8F5AC8#8F5AC8

#8F5AC8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.168 H 303.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F5AC8
RGBrgb(143, 90, 200)
HSLhsl(269, 50%, 57%)
HSVhsv(269, 55%, 78%)
CMYKcmyk(28.5%, 55%, 0%, 21.6%)
CIE-LABlab(48.66, 43.37, -49.36)
CIE-LCHlch(48.66, 65.70, 311.30°)
OKLaboklab(57.57% 0.0933 -0.1392)
OKLCHoklch(57.57% 0.168 303.8)
XYZxyz(25.4069, 17.3222, 56.6374)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AC8 #93C85A
analogous
#5A5CC8 #8F5AC8 #C65AC8
triadic
#8F5AC8 #C88F5A #5AC88F
tetradic
#8F5AC8 #C85A5C #93C85A #5AC8C6
square
#8F5AC8 #C85A5C #93C85A #5AC8C6
split-complementary
#8F5AC8 #C8C65A #5CC85A
monochromatic
#522A7E #7039AC #8F5AC8 #AE88D7 #CDB6E7

Accessibility & contrast

On white

4.70
#8F5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8F5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5AC8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5AC8#FFFFFF#000000##FFFFFF
##8F5AC81.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3172CC
Deuteranopia (green-blind)
#4474C5
Tritanopia (blue-blind)
#856F88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f5ac8;
/* rgb */ color: rgb(143, 90, 200);
/* oklch */ color: oklch(57.6% 0.168 303.8);
Tailwind
colors: {
  custom: {
    50: '#b38ad9',
    500: '#8f5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ac8;
$custom-light: #b38ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ac8",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 268.909,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.16754,
    "h": 303.8
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#8F5AC8
secondary
#C0D5A8
accent
#DA4E96
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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