#8F33C7#8F33C7

#8F33C7 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.219 H 309.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8F33C7
RGBrgb(143, 51, 199)
HSLhsl(277, 59%, 49%)
HSVhsv(277, 74%, 78%)
CMYKcmyk(28.1%, 74.4%, 0%, 22%)
CIE-LABlab(41.74, 61.89, -59.93)
CIE-LCHlch(41.74, 86.14, 315.92°)
OKLaboklab(52.55% 0.1376 -0.17)
OKLCHoklch(52.55% 0.219 309)
XYZxyz(22.8182, 12.3312, 55.1999)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C7 #6BC733
analogous
#4533C7 #8F33C7 #C733B5
triadic
#8F33C7 #C78F33 #33C78F
tetradic
#8F33C7 #C74533 #6BC733 #33B5C7
square
#8F33C7 #C74533 #6BC733 #33B5C7
split-complementary
#8F33C7 #B5C733 #33C745
monochromatic
#491A66 #6C2796 #8F33C7 #AA61D6 #C491E3

Accessibility & contrast

On white

6.06
#8F33C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F33C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C7#FFFFFF#000000##FFFFFF
##8F33C71.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#86567B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f33c7;
/* rgb */ color: rgb(143, 51, 199);
/* oklch */ color: oklch(52.5% 0.219 309.0);
Tailwind
colors: {
  custom: {
    50: '#b574d9',
    500: '#8f33c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c7;
$custom-light: #b574d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c7",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 277.297,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.21868,
    "h": 309
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#8F33C7
secondary
#A2CE88
accent
#E24581
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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