#8F33C1#8F33C1

#8F33C1 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.213 H 310.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8F33C1
RGBrgb(143, 51, 193)
HSLhsl(279, 58%, 48%)
HSVhsv(279, 74%, 76%)
CMYKcmyk(25.9%, 73.6%, 0%, 24.3%)
CIE-LABlab(41.31, 60.60, -57.12)
CIE-LCHlch(41.31, 83.28, 316.69°)
OKLaboklab(52.11% 0.1386 -0.1618)
OKLCHoklch(52.11% 0.213 310.6)
XYZxyz(22.1353, 12.0581, 51.6031)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C1 #65C133
analogous
#4833C1 #8F33C1 #C133AC
triadic
#8F33C1 #C18F33 #33C18F
tetradic
#8F33C1 #C14833 #65C133 #33ACC1
square
#8F33C1 #C14833 #65C133 #33ACC1
split-complementary
#8F33C1 #ACC133 #33C148
monochromatic
#471960 #6B2691 #8F33C1 #AA5DD4 #C48DE1

Accessibility & contrast

On white

6.16
#8F33C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8F33C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C1#FFFFFF#000000##FFFFFF
##8F33C11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#1663BE
Tritanopia (blue-blind)
#885478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f33c1;
/* rgb */ color: rgb(143, 51, 193);
/* oklch */ color: oklch(52.1% 0.213 310.6);
Tailwind
colors: {
  custom: {
    50: '#b474d5',
    500: '#8f33c1',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c1;
$custom-light: #b474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c1",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 278.873,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.21301,
    "h": 310.6
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#8F33C1
secondary
#9DCB84
accent
#E1467D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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