#8F3CB9#8F3CB9

#8F3CB9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.194 H 312.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8F3CB9
RGBrgb(143, 60, 185)
HSLhsl(280, 51%, 48%)
HSVhsv(280, 68%, 73%)
CMYKcmyk(22.7%, 67.6%, 0%, 27.5%)
CIE-LABlab(42.12, 55.09, -51.14)
CIE-LCHlch(42.12, 75.17, 317.13°)
OKLaboklab(52.51% 0.1303 -0.1442)
OKLCHoklch(52.51% 0.194 312.1)
XYZxyz(21.6989, 12.5747, 47.1736)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CB9 #66B93C
analogous
#503CB9 #8F3CB9 #B93CA4
triadic
#8F3CB9 #B98F3C #3CB98F
tetradic
#8F3CB9 #B9503C #66B93C #3CA4B9
square
#8F3CB9 #B9503C #66B93C #3CA4B9
split-complementary
#8F3CB9 #A4B93C #3CB950
monochromatic
#481E5D #6B2D8B #8F3CB9 #AA65CD #C493DC

Accessibility & contrast

On white

5.97
#8F3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8F3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CB9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CB9#FFFFFF#000000##FFFFFF
##8F3CB91.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#8A5676
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3cb9;
/* rgb */ color: rgb(143, 60, 185);
/* oklch */ color: oklch(52.5% 0.194 312.1);
Tailwind
colors: {
  custom: {
    50: '#b478cf',
    500: '#8f3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cb9;
$custom-light: #b478cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cb9",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 279.84,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.19437,
    "h": 312.1
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#8F3CB9
secondary
#9EC789
accent
#DA4D7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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