#8F5ABC#8F5ABC

#8F5ABC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.153 H 307.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F5ABC
RGBrgb(143, 90, 188)
HSLhsl(272, 42%, 55%)
HSVhsv(272, 52%, 74%)
CMYKcmyk(23.9%, 52.1%, 0%, 26.3%)
CIE-LABlab(47.99, 40.49, -43.50)
CIE-LCHlch(47.99, 59.43, 312.94°)
OKLaboklab(56.85% 0.0926 -0.122)
OKLCHoklch(56.85% 0.153 307.2)
XYZxyz(24.0591, 16.7831, 49.5392)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ABC #87BC5A
analogous
#5E5ABC #8F5ABC #BC5AB8
triadic
#8F5ABC #BC8F5A #5ABC8F
tetradic
#8F5ABC #BC5E5A #87BC5A #5AB8BC
square
#8F5ABC #BC5E5A #87BC5A #5AB8BC
split-complementary
#8F5ABC #B8BC5A #5ABC5E
monochromatic
#502D6F #703F9A #8F5ABC #AD86CE #CAB1DF

Accessibility & contrast

On white

4.82
#8F5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5ABC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ABC#FFFFFF#000000##FFFFFF
##8F5ABC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#886B82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f5abc;
/* rgb */ color: rgb(143, 90, 188);
/* oklch */ color: oklch(56.8% 0.153 307.2);
Tailwind
colors: {
  custom: {
    50: '#b28ad0',
    500: '#8f5abc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5abc;
$custom-light: #b28ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5abc",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 272.449,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.15317,
    "h": 307.2
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#8F5ABC
secondary
#B7CEA4
accent
#D2568F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8F5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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