#8F33DC#8F33DC

#8F33DC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.2% C 0.239 H 303.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F33DC
RGBrgb(143, 51, 220)
HSLhsl(273, 71%, 53%)
HSVhsv(273, 77%, 86%)
CMYKcmyk(35%, 76.8%, 0%, 13.7%)
CIE-LABlab(43.32, 66.47, -69.46)
CIE-LCHlch(43.32, 96.14, 313.74°)
OKLaboklab(54.16% 0.1331 -0.198)
OKLCHoklch(54.16% 0.239 303.9)
XYZxyz(25.4268, 13.3747, 68.9383)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33DC #80DC33
analogous
#3B33DC #8F33DC #DC33D4
triadic
#8F33DC #DC8F33 #33DC8F
tetradic
#8F33DC #DC3B33 #80DC33 #33D4DC
square
#8F33DC #DC3B33 #80DC33 #33D4DC
split-complementary
#8F33DC #D4DC33 #33DC3B
monochromatic
#4F167F #6F1FB3 #8F33DC #AC67E5 #C89BEE

Accessibility & contrast

On white

5.71
#8F33DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F33DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33DC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33DC#FFFFFF#000000##FFFFFF
##8F33DC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#805F87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f33dc;
/* rgb */ color: rgb(143, 51, 220);
/* oklch */ color: oklch(54.2% 0.239 303.9);
Tailwind
colors: {
  custom: {
    50: '#b675e8',
    500: '#8f33dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f33dc;
$custom-light: #b675e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33dc",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 272.663,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.23857,
    "h": 303.9
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#8F33DC
secondary
#B2DA91
accent
#ED3A8C
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F33DC

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

Preview Lab → · Contrast checker → · Palette generator →

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