#8F31C3#8F31C3

#8F31C3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.217 H 310.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8F31C3
RGBrgb(143, 49, 195)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 76%)
CMYKcmyk(26.7%, 74.9%, 0%, 23.5%)
CIE-LABlab(41.18, 61.80, -58.50)
CIE-LCHlch(41.18, 85.10, 316.57°)
OKLaboklab(52.06% 0.1401 -0.1658)
OKLCHoklch(52.06% 0.217 310.2)
XYZxyz(22.2744, 11.9769, 52.7576)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F31C3 #65C331
analogous
#4631C3 #8F31C3 #C331AE
triadic
#8F31C3 #C38F31 #31C38F
tetradic
#8F31C3 #C34631 #65C331 #31AEC3
square
#8F31C3 #C34631 #65C331 #31AEC3
split-complementary
#8F31C3 #AEC331 #31C346
monochromatic
#471861 #6B2592 #8F31C3 #AA5BD6 #C48CE2

Accessibility & contrast

On white

6.19
#8F31C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F31C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F31C3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F31C3#FFFFFF#000000##FFFFFF
##8F31C31.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0A63C0
Tritanopia (blue-blind)
#885478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f31c3;
/* rgb */ color: rgb(143, 49, 195);
/* oklch */ color: oklch(52.1% 0.217 310.2);
Tailwind
colors: {
  custom: {
    50: '#b573d6',
    500: '#8f31c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f31c3;
$custom-light: #b573d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f31c3",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 278.63,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.21705,
    "h": 310.2
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#8F31C3
secondary
#9DCC83
accent
#E3457D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F31C3

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

Preview Lab → · Contrast checker → · Palette generator →

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