#8F3ABC#8F3ABC

#8F3ABC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.5% C 0.200 H 311.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F3ABC
RGBrgb(143, 58, 188)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 69%, 74%)
CMYKcmyk(23.9%, 69.1%, 0%, 26.3%)
CIE-LABlab(42.00, 56.62, -53.09)
CIE-LCHlch(42.00, 77.62, 316.85°)
OKLaboklab(52.49% 0.1322 -0.15)
OKLCHoklch(52.49% 0.2 311.4)
XYZxyz(21.9162, 12.4971, 48.8249)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ABC #67BC3A
analogous
#4E3ABC #8F3ABC #BC3AA8
triadic
#8F3ABC #BC8F3A #3ABC8F
tetradic
#8F3ABC #BC4E3A #67BC3A #3AA8BC
square
#8F3ABC #BC4E3A #67BC3A #3AA8BC
split-complementary
#8F3ABC #A8BC3A #3ABC4E
monochromatic
#481D5E #6B2C8D #8F3ABC #AA64CF #C493DE

Accessibility & contrast

On white

6.00
#8F3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8F3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ABC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ABC#FFFFFF#000000##FFFFFF
##8F3ABC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#895677
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3abc;
/* rgb */ color: rgb(143, 58, 188);
/* oklch */ color: oklch(52.5% 0.200 311.4);
Tailwind
colors: {
  custom: {
    50: '#b477d1',
    500: '#8f3abc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3abc;
$custom-light: #b477d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3abc",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 279.231,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.1999,
    "h": 311.4
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#8F3ABC
secondary
#9FC989
accent
#DC4C7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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