#8F33C2#8F33C2

#8F33C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.214 H 310.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F33C2
RGBrgb(143, 51, 194)
HSLhsl(279, 58%, 48%)
HSVhsv(279, 74%, 76%)
CMYKcmyk(26.3%, 73.7%, 0%, 23.9%)
CIE-LABlab(41.38, 60.82, -57.59)
CIE-LCHlch(41.38, 83.76, 316.56°)
OKLaboklab(52.18% 0.1384 -0.1631)
OKLCHoklch(52.18% 0.214 310.3)
XYZxyz(22.2472, 12.1028, 52.1926)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C2 #66C233
analogous
#4733C2 #8F33C2 #C233AD
triadic
#8F33C2 #C28F33 #33C28F
tetradic
#8F33C2 #C24733 #66C233 #33ADC2
square
#8F33C2 #C24733 #66C233 #33ADC2
split-complementary
#8F33C2 #ADC233 #33C247
monochromatic
#481A61 #6B2692 #8F33C2 #AA5ED5 #C48EE1

Accessibility & contrast

On white

6.14
#8F33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C2#FFFFFF#000000##FFFFFF
##8F33C21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1363BF
Tritanopia (blue-blind)
#885478
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f33c2;
/* rgb */ color: rgb(143, 51, 194);
/* oklch */ color: oklch(52.2% 0.214 310.3);
Tailwind
colors: {
  custom: {
    50: '#b574d5',
    500: '#8f33c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c2;
$custom-light: #b574d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c2",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 278.601,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.21395,
    "h": 310.3
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#8F33C2
secondary
#9ECC85
accent
#E2467E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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