#8F35B9#8F35B9

#8F35B9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.7% C 0.203 H 312.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8F35B9
RGBrgb(143, 53, 185)
HSLhsl(281, 55%, 47%)
HSVhsv(281, 71%, 73%)
CMYKcmyk(22.7%, 71.4%, 0%, 27.5%)
CIE-LABlab(41.04, 58.11, -52.87)
CIE-LCHlch(41.04, 78.56, 317.70°)
OKLaboklab(51.74% 0.1377 -0.1493)
OKLCHoklch(51.74% 0.203 312.7)
XYZxyz(21.3562, 11.8892, 47.0594)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35B9 #5FB935
analogous
#4D35B9 #8F35B9 #B935A1
triadic
#8F35B9 #B98F35 #35B98F
tetradic
#8F35B9 #B94D35 #5FB935 #35A1B9
square
#8F35B9 #B94D35 #5FB935 #35A1B9
split-complementary
#8F35B9 #A1B935 #35B94D
monochromatic
#451A5A #6A2789 #8F35B9 #AB5BD0 #C38BDE

Accessibility & contrast

On white

6.22
#8F35B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8F35B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35B9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35B9#FFFFFF#000000##FFFFFF
##8F35B91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#8A5174
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f35b9;
/* rgb */ color: rgb(143, 53, 185);
/* oklch */ color: oklch(51.7% 0.203 312.7);
Tailwind
colors: {
  custom: {
    50: '#b474cf',
    500: '#8f35b9',
    950: '#000000',
  },
}
SCSS
$custom: #8f35b9;
$custom-light: #b474cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35b9",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 280.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.20312,
    "h": 312.7
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#8F35B9
secondary
#98C882
accent
#DF4979
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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