#8F33C0#8F33C0

#8F33C0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.212 H 310.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F33C0
RGBrgb(143, 51, 192)
HSLhsl(279, 58%, 48%)
HSVhsv(279, 73%, 75%)
CMYKcmyk(25.5%, 73.4%, 0%, 24.7%)
CIE-LABlab(41.24, 60.39, -56.65)
CIE-LCHlch(41.24, 82.81, 316.83°)
OKLaboklab(52.04% 0.1387 -0.1604)
OKLCHoklch(52.04% 0.212 310.9)
XYZxyz(22.0241, 12.0136, 51.0176)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C0 #64C033
analogous
#4833C0 #8F33C0 #C033AA
triadic
#8F33C0 #C08F33 #33C08F
tetradic
#8F33C0 #C04833 #64C033 #33AAC0
square
#8F33C0 #C04833 #64C033 #33AAC0
split-complementary
#8F33C0 #AAC033 #33C048
monochromatic
#47195F #6B2690 #8F33C0 #AA5CD4 #C38DE1

Accessibility & contrast

On white

6.17
#8F33C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F33C0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C0#FFFFFF#000000##FFFFFF
##8F33C01.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#885377
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f33c0;
/* rgb */ color: rgb(143, 51, 192);
/* oklch */ color: oklch(52.0% 0.212 310.9);
Tailwind
colors: {
  custom: {
    50: '#b474d4',
    500: '#8f33c0',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c0;
$custom-light: #b474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c0",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 279.149,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.21206,
    "h": 310.9
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F33C0

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

Preview Lab → · Contrast checker → · Palette generator →

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