#8F35C7#8F35C7

#8F35C7 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.216 H 308.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F35C7
RGBrgb(143, 53, 199)
HSLhsl(277, 58%, 49%)
HSVhsv(277, 73%, 78%)
CMYKcmyk(28.1%, 73.4%, 0%, 22%)
CIE-LABlab(42.02, 61.09, -59.48)
CIE-LCHlch(42.02, 85.26, 315.77°)
OKLaboklab(52.74% 0.1357 -0.1687)
OKLCHoklch(52.74% 0.217 308.8)
XYZxyz(22.9075, 12.5098, 55.2296)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35C7 #6DC735
analogous
#4635C7 #8F35C7 #C735B6
triadic
#8F35C7 #C78F35 #35C78F
tetradic
#8F35C7 #C74635 #6DC735 #35B6C7
square
#8F35C7 #C74635 #6DC735 #35B6C7
split-complementary
#8F35C7 #B6C735 #35C746
monochromatic
#4A1B66 #6C2897 #8F35C7 #AA64D6 #C494E2

Accessibility & contrast

On white

6.00
#8F35C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8F35C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35C7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35C7#FFFFFF#000000##FFFFFF
##8F35C71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0464C4
Tritanopia (blue-blind)
#86577B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f35c7;
/* rgb */ color: rgb(143, 53, 199);
/* oklch */ color: oklch(52.7% 0.216 308.8);
Tailwind
colors: {
  custom: {
    50: '#b575d9',
    500: '#8f35c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f35c7;
$custom-light: #b575d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35c7",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 276.986,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.2165,
    "h": 308.8
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#8F35C7
secondary
#A4CE8A
accent
#E14782
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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