#8F35C3#8F35C3

#8F35C3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.213 H 309.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8F35C3
RGBrgb(143, 53, 195)
HSLhsl(278, 57%, 49%)
HSVhsv(278, 73%, 76%)
CMYKcmyk(26.7%, 72.8%, 0%, 23.5%)
CIE-LABlab(41.73, 60.23, -57.61)
CIE-LCHlch(41.73, 83.35, 316.28°)
OKLaboklab(52.45% 0.1364 -0.1632)
OKLCHoklch(52.45% 0.213 309.9)
XYZxyz(22.4492, 12.3264, 52.8158)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35C3 #69C335
analogous
#4835C3 #8F35C3 #C335B0
triadic
#8F35C3 #C38F35 #35C38F
tetradic
#8F35C3 #C34835 #69C335 #35B0C3
square
#8F35C3 #C34835 #69C335 #35B0C3
split-complementary
#8F35C3 #B0C335 #35C348
monochromatic
#481B63 #6C2893 #8F35C3 #AA61D4 #C491E1

Accessibility & contrast

On white

6.06
#8F35C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F35C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35C3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35C3#FFFFFF#000000##FFFFFF
##8F35C31.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1464C0
Tritanopia (blue-blind)
#885679
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f35c3;
/* rgb */ color: rgb(143, 53, 195);
/* oklch */ color: oklch(52.5% 0.213 309.9);
Tailwind
colors: {
  custom: {
    50: '#b475d6',
    500: '#8f35c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f35c3;
$custom-light: #b475d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35c3",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 278.028,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.21267,
    "h": 309.9
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#8F35C3
secondary
#A1CC88
accent
#E1477F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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