#8F33C6#8F33C6

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

Color values

HEX#8F33C6
RGBrgb(143, 51, 198)
HSLhsl(278, 59%, 49%)
HSVhsv(278, 74%, 78%)
CMYKcmyk(27.8%, 74.2%, 0%, 22.4%)
CIE-LABlab(41.67, 61.67, -59.46)
CIE-LCHlch(41.67, 85.67, 316.04°)
OKLaboklab(52.47% 0.1377 -0.1686)
OKLCHoklch(52.47% 0.218 309.2)
XYZxyz(22.7025, 12.2849, 54.5904)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C6 #6AC633
analogous
#4633C6 #8F33C6 #C633B4
triadic
#8F33C6 #C68F33 #33C68F
tetradic
#8F33C6 #C64633 #6AC633 #33B4C6
square
#8F33C6 #C64633 #6AC633 #33B4C6
split-complementary
#8F33C6 #B4C633 #33C646
monochromatic
#491A65 #6C2695 #8F33C6 #AA60D6 #C491E3

Accessibility & contrast

On white

6.07
#8F33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F33C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C6#FFFFFF#000000##FFFFFF
##8F33C61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0263C3
Tritanopia (blue-blind)
#87567A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f33c6;
/* rgb */ color: rgb(143, 51, 198);
/* oklch */ color: oklch(52.5% 0.218 309.2);
Tailwind
colors: {
  custom: {
    50: '#b574d8',
    500: '#8f33c6',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c6;
$custom-light: #b574d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c6",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 277.551,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.21774,
    "h": 309.2
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#8F33C6
secondary
#A2CD87
accent
#E24680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8F33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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