#8F33D1#8F33D1

#8F33D1 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.228 H 306.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8F33D1
RGBrgb(143, 51, 209)
HSLhsl(275, 63%, 51%)
HSVhsv(275, 76%, 82%)
CMYKcmyk(31.6%, 75.6%, 0%, 18%)
CIE-LABlab(42.48, 64.05, -64.52)
CIE-LCHlch(42.48, 90.91, 314.79°)
OKLaboklab(53.3% 0.1356 -0.1835)
OKLCHoklch(53.3% 0.228 306.5)
XYZxyz(24.0176, 12.8110, 61.5167)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33D1 #75D133
analogous
#4033D1 #8F33D1 #D133C4
triadic
#8F33D1 #D18F33 #33D18F
tetradic
#8F33D1 #D14033 #75D133 #33C4D1
square
#8F33D1 #D14033 #75D133 #33C4D1
split-complementary
#8F33D1 #C4D133 #33D140
monochromatic
#4C1970 #6E25A2 #8F33D1 #AA65DC #C697E8

Accessibility & contrast

On white

5.90
#8F33D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F33D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33D1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33D1#FFFFFF#000000##FFFFFF
##8F33D11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#835A81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f33d1;
/* rgb */ color: rgb(143, 51, 209);
/* oklch */ color: oklch(53.3% 0.228 306.5);
Tailwind
colors: {
  custom: {
    50: '#b674e0',
    500: '#8f33d1',
    950: '#000000',
  },
}
SCSS
$custom: #8f33d1;
$custom-light: #b674e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33d1",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 209
  },
  "hsl": {
    "h": 274.937,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.533,
    "c": 0.22815,
    "h": 306.5
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#8F33D1
secondary
#AAD38D
accent
#E64286
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F33D1

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

Preview Lab → · Contrast checker → · Palette generator →

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