#8F3ABB#8F3ABB

#8F3ABB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.199 H 311.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8F3ABB
RGBrgb(143, 58, 187)
HSLhsl(280, 53%, 48%)
HSVhsv(280, 69%, 73%)
CMYKcmyk(23.5%, 69%, 0%, 26.7%)
CIE-LABlab(41.93, 56.41, -52.61)
CIE-LCHlch(41.93, 77.13, 317.00°)
OKLaboklab(52.42% 0.1323 -0.1486)
OKLCHoklch(52.42% 0.199 311.7)
XYZxyz(21.8087, 12.4542, 48.2591)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ABB #66BB3A
analogous
#4E3ABB #8F3ABB #BB3AA6
triadic
#8F3ABB #BB8F3A #3ABB8F
tetradic
#8F3ABB #BB4E3A #66BB3A #3AA6BB
square
#8F3ABB #BB4E3A #66BB3A #3AA6BB
split-complementary
#8F3ABB #A6BB3A #3ABB4E
monochromatic
#481D5E #6B2C8C #8F3ABB #AA63CF #C492DD

Accessibility & contrast

On white

6.02
#8F3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8F3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ABB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ABB#FFFFFF#000000##FFFFFF
##8F3ABB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#8A5576
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3abb;
/* rgb */ color: rgb(143, 58, 187);
/* oklch */ color: oklch(52.4% 0.199 311.7);
Tailwind
colors: {
  custom: {
    50: '#b477d0',
    500: '#8f3abb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3abb;
$custom-light: #b477d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3abb",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 279.535,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.19892,
    "h": 311.7
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#8F3ABB
secondary
#9EC888
accent
#DC4C7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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