#8F35C5#8F35C5

#8F35C5 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.215 H 309.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F35C5
RGBrgb(143, 53, 197)
HSLhsl(278, 58%, 49%)
HSVhsv(278, 73%, 77%)
CMYKcmyk(27.4%, 73.1%, 0%, 22.7%)
CIE-LABlab(41.87, 60.66, -58.54)
CIE-LCHlch(41.87, 84.31, 316.02°)
OKLaboklab(52.6% 0.136 -0.166)
OKLCHoklch(52.6% 0.215 309.3)
XYZxyz(22.6768, 12.4175, 54.0147)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35C5 #6BC535
analogous
#4735C5 #8F35C5 #C535B3
triadic
#8F35C5 #C58F35 #35C58F
tetradic
#8F35C5 #C54735 #6BC535 #35B3C5
square
#8F35C5 #C54735 #6BC535 #35B3C5
split-complementary
#8F35C5 #B3C535 #35C547
monochromatic
#491B65 #6C2895 #8F35C5 #AA62D5 #C493E2

Accessibility & contrast

On white

6.03
#8F35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35C5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35C5#FFFFFF#000000##FFFFFF
##8F35C51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0E64C2
Tritanopia (blue-blind)
#87567A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f35c5;
/* rgb */ color: rgb(143, 53, 197);
/* oklch */ color: oklch(52.6% 0.215 309.3);
Tailwind
colors: {
  custom: {
    50: '#b575d7',
    500: '#8f35c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f35c5;
$custom-light: #b575d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35c5",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 277.5,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.21459,
    "h": 309.3
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#8F35C5
secondary
#A2CD89
accent
#E14781
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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