#8F33C5#8F33C5

#8F33C5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 309.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F33C5
RGBrgb(143, 51, 197)
HSLhsl(278, 59%, 49%)
HSVhsv(278, 74%, 77%)
CMYKcmyk(27.4%, 74.1%, 0%, 22.7%)
CIE-LABlab(41.59, 61.46, -59.00)
CIE-LCHlch(41.59, 85.19, 316.17°)
OKLaboklab(52.4% 0.1379 -0.1673)
OKLCHoklch(52.4% 0.217 309.5)
XYZxyz(22.5875, 12.2390, 53.9850)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F33C5 #69C533
analogous
#4633C5 #8F33C5 #C533B2
triadic
#8F33C5 #C58F33 #33C58F
tetradic
#8F33C5 #C54633 #69C533 #33B2C5
square
#8F33C5 #C54633 #69C533 #33B2C5
split-complementary
#8F33C5 #B2C533 #33C546
monochromatic
#481A64 #6C2694 #8F33C5 #AA5FD6 #C490E2

Accessibility & contrast

On white

6.09
#8F33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F33C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F33C5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F33C5#FFFFFF#000000##FFFFFF
##8F33C51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0763C2
Tritanopia (blue-blind)
#87557A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f33c5;
/* rgb */ color: rgb(143, 51, 197);
/* oklch */ color: oklch(52.4% 0.217 309.5);
Tailwind
colors: {
  custom: {
    50: '#b574d7',
    500: '#8f33c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f33c5;
$custom-light: #b574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f33c5",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 277.808,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.21678,
    "h": 309.5
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#8F33C5
secondary
#A1CD87
accent
#E24680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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