#8F33D2#8F33D2

#8F33D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.4% C 0.229 H 306.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8F33D2
RGBrgb(143, 51, 210)
HSLhsl(275, 64%, 51%)
HSVhsv(275, 76%, 82%)
CMYKcmyk(31.9%, 75.7%, 0%, 17.6%)
CIE-LABlab(42.55, 64.27, -64.97)
CIE-LCHlch(42.55, 91.39, 314.69°)
OKLaboklab(53.38% 0.1354 -0.1848)
OKLCHoklch(53.38% 0.229 306.2)
XYZxyz(24.1418, 12.8607, 62.1708)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33D2 #76D233
analogous
#3F33D2 #8F33D2 #D233C5
triadic
#8F33D2 #D28F33 #33D28F
tetradic
#8F33D2 #D23F33 #76D233 #33C5D2
square
#8F33D2 #D23F33 #76D233 #33C5D2
split-complementary
#8F33D2 #C5D233 #33D23F
monochromatic
#4C1972 #6E24A4 #8F33D2 #AB65DD #C697E8

Accessibility & contrast

On white

5.88
#8F33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8F33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33D2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33D2#FFFFFF#000000##FFFFFF
##8F33D21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#835B81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f33d2;
/* rgb */ color: rgb(143, 51, 210);
/* oklch */ color: oklch(53.4% 0.229 306.2);
Tailwind
colors: {
  custom: {
    50: '#b674e1',
    500: '#8f33d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f33d2;
$custom-light: #b674e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33d2",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 274.717,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.22909,
    "h": 306.2
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#8F33D2
secondary
#ABD48D
accent
#E74187
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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