#8F3FB8#8F3FB8

#8F3FB8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.189 H 312.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8F3FB8
RGBrgb(143, 63, 184)
HSLhsl(280, 49%, 48%)
HSVhsv(280, 66%, 72%)
CMYKcmyk(22.3%, 65.8%, 0%, 27.8%)
CIE-LABlab(42.55, 53.50, -49.86)
CIE-LCHlch(42.55, 73.13, 317.02°)
OKLaboklab(52.8% 0.1269 -0.1405)
OKLCHoklch(52.8% 0.189 312.1)
XYZxyz(21.7554, 12.8559, 46.6735)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FB8 #68B83F
analogous
#523FB8 #8F3FB8 #B83FA4
triadic
#8F3FB8 #B88F3F #3FB88F
tetradic
#8F3FB8 #B8523F #68B83F #3FA4B8
square
#8F3FB8 #B8523F #68B83F #3FA4B8
split-complementary
#8F3FB8 #A4B83F #3FB852
monochromatic
#48205D #6C2F8A #8F3FB8 #AA69CC #C496DB

Accessibility & contrast

On white

5.88
#8F3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8F3FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FB8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FB8#FFFFFF#000000##FFFFFF
##8F3FB81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#8A5776
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3fb8;
/* rgb */ color: rgb(143, 63, 184);
/* oklch */ color: oklch(52.8% 0.189 312.1);
Tailwind
colors: {
  custom: {
    50: '#b37ace',
    500: '#8f3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fb8;
$custom-light: #b37ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fb8",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 279.669,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.18936,
    "h": 312.1
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#8F3FB8
secondary
#A0C78C
accent
#D94F7E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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