#8F33C4#8F33C4

#8F33C4 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.216 H 309.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F33C4
RGBrgb(143, 51, 196)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 77%)
CMYKcmyk(27%, 74%, 0%, 23.1%)
CIE-LABlab(41.52, 61.24, -58.53)
CIE-LCHlch(41.52, 84.71, 316.30°)
OKLaboklab(52.33% 0.1381 -0.1659)
OKLCHoklch(52.33% 0.216 309.8)
XYZxyz(22.4733, 12.1933, 53.3835)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C4 #68C433
analogous
#4633C4 #8F33C4 #C433B0
triadic
#8F33C4 #C48F33 #33C48F
tetradic
#8F33C4 #C44633 #68C433 #33B0C4
square
#8F33C4 #C44633 #68C433 #33B0C4
split-complementary
#8F33C4 #B0C433 #33C446
monochromatic
#481A63 #6C2693 #8F33C4 #AA5FD5 #C48FE2

Accessibility & contrast

On white

6.11
#8F33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F33C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C4#FFFFFF#000000##FFFFFF
##8F33C41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0C63C1
Tritanopia (blue-blind)
#875579
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f33c4;
/* rgb */ color: rgb(143, 51, 196);
/* oklch */ color: oklch(52.3% 0.216 309.8);
Tailwind
colors: {
  custom: {
    50: '#b574d7',
    500: '#8f33c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c4;
$custom-light: #b574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c4",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 278.069,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.21584,
    "h": 309.8
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#8F33C4
secondary
#A0CD86
accent
#E2467F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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