#8F35BC#8F35BC

#8F35BC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.206 H 311.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F35BC
RGBrgb(143, 53, 188)
HSLhsl(280, 56%, 47%)
HSVhsv(280, 72%, 74%)
CMYKcmyk(23.9%, 71.8%, 0%, 26.3%)
CIE-LABlab(41.24, 58.74, -54.30)
CIE-LCHlch(41.24, 80.00, 317.25°)
OKLaboklab(51.95% 0.1374 -0.1535)
OKLCHoklch(51.95% 0.206 311.8)
XYZxyz(21.6762, 12.0173, 48.7449)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35BC #62BC35
analogous
#4B35BC #8F35BC #BC35A6
triadic
#8F35BC #BC8F35 #35BC8F
tetradic
#8F35BC #BC4B35 #62BC35 #35A6BC
square
#8F35BC #BC4B35 #62BC35 #35A6BC
split-complementary
#8F35BC #A6BC35 #35BC4B
monochromatic
#461A5D #6B288C #8F35BC #AB5DD1 #C38DDF

Accessibility & contrast

On white

6.17
#8F35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35BC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35BC#FFFFFF#000000##FFFFFF
##8F35BC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#8A5375
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f35bc;
/* rgb */ color: rgb(143, 53, 188);
/* oklch */ color: oklch(52.0% 0.206 311.8);
Tailwind
colors: {
  custom: {
    50: '#b474d1',
    500: '#8f35bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f35bc;
$custom-light: #b474d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35bc",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 280,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.20598,
    "h": 311.8
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#8F35BC
secondary
#9BC984
accent
#DF487B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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