#8F33C8#8F33C8

#8F33C8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.220 H 308.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8F33C8
RGBrgb(143, 51, 200)
HSLhsl(277, 59%, 49%)
HSVhsv(277, 75%, 78%)
CMYKcmyk(28.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(41.81, 62.10, -60.39)
CIE-LCHlch(41.81, 86.62, 315.80°)
OKLaboklab(52.62% 0.1374 -0.1714)
OKLCHoklch(52.62% 0.22 308.7)
XYZxyz(22.9347, 12.3778, 55.8133)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C8 #6CC833
analogous
#4533C8 #8F33C8 #C833B7
triadic
#8F33C8 #C88F33 #33C88F
tetradic
#8F33C8 #C84533 #6CC833 #33B7C8
square
#8F33C8 #C84533 #6CC833 #33B7C8
split-complementary
#8F33C8 #B7C833 #33C845
monochromatic
#491A66 #6C2797 #8F33C8 #AA61D7 #C492E3

Accessibility & contrast

On white

6.04
#8F33C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F33C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C8#FFFFFF#000000##FFFFFF
##8F33C81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#86577B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f33c8;
/* rgb */ color: rgb(143, 51, 200);
/* oklch */ color: oklch(52.6% 0.220 308.7);
Tailwind
colors: {
  custom: {
    50: '#b574da',
    500: '#8f33c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c8;
$custom-light: #b574da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c8",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 277.047,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.21963,
    "h": 308.7
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#8F33C8
secondary
#A3CE89
accent
#E34581
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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